title: jquery mobile dialogs, passing values between pages
body: <p>I want to make a popup (<a href="http://jquerymobile.com/demos/1.0.1/docs/pages/page-dialogs.html" rel="nofollow">page dialogs</a>) in jquery mobile with some input fields. How would i pass data from the popup to my main page? </p>
  
  <p>And does the popup need to be a complete jquery ui page (<a href="http://jquerymobile.com/demos/1.0.1/docs/pages/page-anatomy.html" rel="nofollow">page anatomy</a>), or just a</p>
  
  <pre><code>&lt;div data-role="page"&gt; 
  ...
  &lt;/div&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>