From the menu bar, click Edit Preferences, select Documents, go to the Save Settings section and un-check Save As optimizes for Fast Web View.
or :
(1.) Create a button
(2.) Right click and select Properties
(3.) Click the Actions tab
(4.) For the Select Trigger : Mouse Up
(5.) For Select Action: Execute a menu item
(6.) Click Add
(7.) Click the File > Close option