I'll be right in saying that the majority of Mac users use the keyboard shortcut Command + W for Closing the windows of various programs, as well as many other combinations, of which the OS X simply unthinkable quantity. However, the dialog boxes associated with exporting, saving, printing and iCloud close is not so simple. They do not support the Command + W. How can this be? In fact, in OS X to close the dialog boxes, there are two full keyboard shortcuts!
To close most dialog boxes, you can use the Escape. In OS X, Escape will be your indispensable assistant for all (or almost all) of the windows with the button "Cancel". After all, the key is directly linked to it. It does not matter what program you are and what a dialog box in front of you - press Escape, the most universal key for the command "Cancel".
In addition to the Escape, in OS X there is one combination that will not only replace you click "Cancel" in the dialog boxes to print, save or export, but also stop the loading of web pages in Safari, copy the files in the Finder, Photoshop actions and close the Preferences window in various programs, from Safari to Keynote. Meet, Command + Period!
Unfortunately, you have to remember two combinations, Command + Period often does not work as "Cancel", especially in third-party applications, such as Google Chrome and Google Earth. But even if you have forgotten shortcuts, do not worry, the hand is always a mouse or trackpad, which has never let us down!