WebDialog.Hide
From Xojo Documentation
Method
Hides the dialog box. The dialog box is still in memory and accessible via code.
Notes
You can use this on a button click event to hide the dialog. If you hide a dialog with the Hide method, you can display it again by calling Show.
Example
Hide the dialog:
Self.Hide