Changes the visibility of the dialog. You can hide the dialog without closing it after OpenDialog.
Please note that even if the dialog is hidden, the dialog instance remains and scripts are always active. To delete the instance, call CloseDialog. (You can call CloseDialog even when the dialog is hidden.)