jConfirmation on top of dialog
<p>I'm new to html&amp; jquery. I'm having a dialog and while trying to close it, I need to ask a confirmation message, which should be displayed on top of the existing dialog. I tried using jconfirmation, but it comes up after closing the existing dialog. But I need the confirmation to come on top of the existing dialog. How can I do it?</p>

<pre><code>$("#ref").load('myTest.html').dialog({
create:function(e,u) {
   // ETC
},
close:function(e,u){
  //ADD CODE TO SHOW CONFIRMATION ON TOP
}
}); 
</code></pre>
