For this test, use the escape key to close the dialog.