title: Override jQueryUI dialog default options
body: <p>I want to be able to create modal dialogs, with, for example</p>
  
  <pre><code>close: function() {
      $(this).remove();
  }
  </code></pre>
  
  <p>default option, without need to specify those on dialog creation, but somehow override those parameters on one place.</p>
  
  <p>Is this possible?</p>