test escape key behaviour on confirm dialogs