Called for each visible top-level window when the operating system requests that all programs shut down; for each frame that returns a true value, the frame's on-exit method is called.
Calls can-close? and returns the result.