close dialogs on ESC