Calling the command:
Icon  | 
Ribbon  | 
|---|---|
  | 
File > Close  | 
Keyboard  | 
Textual Menu  | 
<FCL>  | 
File > Close  | 
The command closes all windows of an active document in all main windows of the current session.
If document contains unsaved changes, the dialog suggesting to save the document pops-up. Upon clicking Yes, the document is saved and then closed. Upon clicking No, the document is closed without saving. The third option is to Cancel the command.