Dialogs can now be closed with ESC