How to open on click and dynamically pull in modal.html files
<p>I have:</p>

<pre><code> $(function ()    {
     $('&lt;div&gt;').dialog({
         modal: true,
         open: function ()
         {
             $(this).load('Modal_ConfirmEmail.html');
         },         
         width: 640,
     });
 }); 
</code></pre>

<p>and I need that to open when I click on test</p>

<p>Not sure how to do that.</p>
