Allow esc key to close modal dialogs