This method closes the frame by calling the can-close?, on-close, and show methods.
It's implementation is:
(inherit can-close? on-close) (public [show (lambda () (when (can-close?) (on-close) (show #f)))])