title: In jQuery Mobile how to overide the close button href in Poup Dialog
body: <p>I want to change <code>href</code> in popup(dialog) close button. jQuery Mobile Automatically generate the <code>href="#"</code>. I want to override the <code>href="myPage"</code>. How can i override the <code>href=""</code></p>
  
  <p>Code</p>
  
  <pre><code> &lt;div data-role="dialog" id="pageId"&gt;
      &lt;div data-role="header" data-theme="c"&gt;
        &lt;h2&gt;your Heading&lt;/h2&gt;
      &lt;/div&gt;
      &lt;div data-role="content"&gt;
          &lt;p&gt;Your Message.&lt;/p&gt;
       &lt;/div&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>In this code jQuery automatically generating code for the close button. How to i override the <code>href="#"</code> into my <code>href=""</code>.</p>
  
  <p>if i click the close(X) button it want to goes to my link page. </p>
  
  <p>Can any one help me with good solution. Thanks</p>