title: jQuery UI: dialog show/hide effects with options
body: <p>Is it possible to specify options for the show and hide options of a Dialog box in jQuery UI.</p>
  
  <p>For example, instead of:</p>
  
  <pre><code>$('#dialog').dialog({
    show: 'fade'
  });
  </code></pre>
  
  <p>Something like:</p>
  
  <pre><code>$('#dialog').dialog({
    show: {effect: 'fade', speed: 1000}
  });
  </code></pre>
  
  <p>(The code above does not, of course, work.)</p>
  
  <p>What I'm really trying to use is the "complete" method inside of the effect, or a callback function, so I can select some text after the effect is done.</p>
  
  <p>If anyone knows, thanks.</p>