Both screenshots are from different accounts. The one in "Dark mode" is the Notebook owner, attempting to share it to t-
he other user ("Light mode"). But for some reason it isn't showing up for that user. (The one that appeared is the link shared version.)
Note that email is typed correctly.