Dismiss Some Windows With the Esc Key

If you ever see a window with no Close button at the upper left, but a Cancel button somewhere at the bottom, you can also close it by pressing the Esc key on your keyboard. Examples are: Print dialogs and Open dialogs. But Esc also works in some other places even when there is a close button, like the Preferences or About windows in apps.