Keypress on Esc closes the modal