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.