This function will be called when the Close item of the File menu is selected by the user. If file-menu:close is #f, rather than a procedure, the Close menu item will not be added to the menu.
The default value calls on-close, and if that returns #t sends show #f to the frame.