title: JQuery Mobile Popover outside of page
body: <p>I'm trying to have a global popover with some alerts in it in jQuery Mobile.  Is that possible?  It seems like the popover has to be in a jquery mobile page for it to be accessed.  I'm assuming it's because everything outside of that page isn't visible.</p>
  
  <p>Here's an example of what I'm talking about.  How do I get the second version to work?</p>
  
  <p>Works</p>
  
  <pre><code>&lt;div data-role="page" data-theme="a"&gt;
      &lt;div data-role="content"&gt;
  
          &lt;a href="#alert-popup" data-rel="popup" data-role="button" data-inline="true"&gt;Popup with close button right&lt;/a&gt;
  
          &lt;div data-role="popup" id="alert-popup" data-theme="c"&gt;
              &lt;a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right"&gt;Close&lt;/a&gt;
              &lt;h1&gt;Alert Title&lt;/h1&gt;
              &lt;p&gt;
                  Freegan thundercats raw denim adipisicing elit. 8-bit hella lomo do irony, sartorial aliquip wes anderson. Elit quinoa consectetur hoodie, bushwick 3 wolf moon godard eiusmod next level quis echo park. Keytar ullamco exercitation salvia, brunch before they sold out cray minim echo park polaroid vegan cliche reprehenderit vero synth. Artisan VHS fanny pack aliqua ex williamsburg duis. Reprehenderit chillwave skateboard post-ironic, food truck ethical est wes anderson letterpress incididunt master cleanse. Selvage farm-to-table elit vinyl jean shorts, consectetur delectus non banksy.
              &lt;/p&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Doesn't work</p>
  
  <pre><code>&lt;div data-role="page" data-theme="a"&gt;
      &lt;div data-role="content"&gt;
  
          &lt;a href="#alert-popup" data-rel="popup" data-role="button" data-inline="true"&gt;Popup with close button right&lt;/a&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  
  
  
  &lt;div data-role="popup" id="alert-popup" data-theme="c"&gt;
      &lt;a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right"&gt;Close&lt;/a&gt;
      &lt;h1&gt;Alert Title&lt;/h1&gt;
      &lt;p&gt;
          Freegan thundercats raw denim adipisicing elit. 8-bit hella lomo do irony, sartorial aliquip wes anderson. Elit quinoa consectetur hoodie, bushwick 3 wolf moon godard eiusmod next level quis echo park. Keytar ullamco exercitation salvia, brunch before they sold out cray minim echo park polaroid vegan cliche reprehenderit vero synth. Artisan VHS fanny pack aliqua ex williamsburg duis. Reprehenderit chillwave skateboard post-ironic, food truck ethical est wes anderson letterpress incididunt master cleanse. Selvage farm-to-table elit vinyl jean shorts, consectetur delectus non banksy.
      &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>