title: How to add maximize and minimize button to jQuery Basic Dialog
body: <p>I need to add maximize and minimize button (should be functional) to a basic jQuery Dialog. Please find the below code for reference:</p>
  
  <pre class="lang-js prettyprint-override"><code>$("#modalDiv").dialog({
    position: {
      my: "center center",
      at: "center center",
      of: window
    },
    width: 1100,
    height: 230,
    modal: true,
    showTitle: true,
    close: function() { }
  });
  </code></pre>
  
  <p>Any help shall be greatly appreciated!</p>