Added ability to close the modal window when `<ESC>` key is pressed