close pop-up and refresh website
<p>Do you know how should I write correct method click?</p>

<p>JS - here I made mistake</p>

<pre><code>$(".ui-dialog-titlebar-close").live("click", function (e) {
    window.setTimeout('location.reload()', 100);
});
</code></pre>

<p>There is class with button</p>

<p><img src="http://i.stack.imgur.com/JPHgN.png" alt="enter image description here"></p>
