In the case of the modal, I recommend that you add an icon such as "×" and set the link for that icon to "Close Modal" so that you can close the modal by pressing ×.

Did this answer your question?