When creating a link to page that does not yet exist, the link helper stays open after typing ]]. At this point, since something is selected in the link helper, hitting enter will insert a link that is not what was typed.
You'll see in the screenshot that I've typed a new link and closed it, but the helper is still open with something else selected, not helpful.
There is other odd behavior around typing and inserting links, but this is the one bit of it that I can consistently repro.