{click,3}{mouseup,3}{mouseup,0}{mousedown,0}{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" recordingtarget="true" ref="4"><div ui-resizable-sw" ref="16">