{click,3}{click,3}{mouseup,3}{mouseup,3}{mousedown,6}{mousedown,6}close the dialog box by clicking the "x". <body ref="0"><div id="wrap" ref="1"><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">