close the dialog box by clicking the "x". <body ref="0"><div id="wrap" ref="1"></DIV><div ui-corner-all ui-widget ui-widget-content ui-front ui-draggable ui-resizable" ref="3"><div ui-corner-all ui-widget-header ui-helper-clearfix ui-draggable-handle" ref="4"><span id="ui-id-1" ref="5"></SPAN><button ui-corner-all ui-widget ui-button-icon-only ui-dialog-titlebar-close" ref="6">