void close (any return)
Closes this window.
. If an?onClose()?callback is defined for the window, calls that function before closing the window.