This method is called to query the user about closing a frame. If it returns #f, the frame will not be closed.
Checks to see if any buffers need to be saved and then calls the super classes can-close?.