# CloseHtmlDialogs Method The CloseHtmlDialogs method closes all HTML dialogs of a specified type. Syntax
    SiteKiosk.SiteKioskUI.CloseHtmlDialogs(dtype)
Parameters
dtype | String that specifies the type of dialog.
Return Value None. Remarks You can handle existing dialogues defined in the browser skin files or own dialogs. Examples The following example closes all existing "actionforbidden" HTML dialogs.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteKioskUI.CloseHtmlDialogs("actionforbidden");
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top