FIX: Close hyperlink modal on pressing Esc (PR #13166)

The first input element of the hyperlink modal has a keydown event handler that is used to search posts. When there are results, pressing Esc dismisses the results. When there are no results, it will now dismiss the modal.

GitHub