title: How can I position my jQuery dialog to center?
body: <p>I have tried following code, but it only positions dialogs left upper corner position to center, and that makes element to be aligned to right. How can I center dialog to real center which counts elements width, so that center line will cut dialog to 50% 50% halfs?</p>
  
  <pre><code>$('.selector').dialog({ position: 'center' });
  </code></pre>
  
  <p><a href="http://docs.jquery.com/UI/Dialog#option-position" rel="noreferrer">http://docs.jquery.com/UI/Dialog#option-position</a></p>