# CloseDialog Method The CloseDialog method closes the dialog. Syntax
    SKHtmlDialog.CloseDialog()
Return Value None. Remarks None. Examples The following example creates, shows and closes a dialog.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.ShowDialog();
    mydialog.CloseDialog();
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top