Press ESC to close

how to close a dialog box in ai