User action: Click on Save, get a box, and press Escape.
Expected behavior: Escape from the save dialog.
User action: Click on Insert > Media, get a box, and press Escape.
Expected behavior: Escape from the media box.
User action: Click on an existing link, get a box, and press Escape:
Expected behavior: Escape from the link box.
Actual behavior: Exit without saving.
For the purposes of the Escape key, an open context menu needs to be treated like an open dialog box: it should not exit without saving. It should just get rid of the unwanted box.