title: Open Jquery modal dialog on click event
body: <p>The below code works fine for only the first click event. However for any subsequent click nothing happens.
  I tested this on firefox, ie7 but still the same. Am I missing something? </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      //$('#dialog').dialog();
      $('#dialog_link').click(function() {
          $('#dialog').dialog();
          return false;
      });
  });
  &lt;/script&gt;    
  &lt;/head&gt;&lt;body&gt;
     &lt;div id="dialog" title="Dialog Title" style="display:none"&gt; Some text&lt;/div&gt;  
     &lt;p id="dialog_link"&gt;Open Dialog&lt;/p&gt;  
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>