Called just before the window is closed (e.g., by the window manager). This method is not called by show .
See also can-close?.
calls the remove-frame method of the result of group:get-the-frame-group.