Called when there is a request to close the window. A #f return value indicates that the window can be closed (but it does not close the window); any other values means that the window can be closed.
This method should be called whenever the user wants to close the frame. If it returns #f, then the frame should not be closed.
Checks that the project is saved and all editor buffers in the project are saved.