title: how to check if a dialogExtended Div is in minimise position
body: <p>i have an extended div like this :</p>
  
  <pre><code>var $chatTemplateDiv = $('#ChatTemplate');
   var dialogExtendOptions = {
       "close": true,
       "maximize": false,
       "minimize": true,
       "dblclick": 'minimize',
       "titlebar": 'transparent',
       "restore": function (event, ui) {
  
       }
   };
   $chatTemplateDiv.dialog({
           title: ClientName,
           width: 360,
           height: 320,
           modal: false,
           resizable: false,
           maxHeight: 500,
           focus: function (event, ui) {
               $("#ToClientID").val(ToClient); 
  
           },
           open: function (event, ui) {
  
               $(this).animate({
                   scrollTop: $(this).scrollTop() + 10000000
               });
  
           }
       }).dialogExtend(dialogExtendOptions);
  </code></pre>
  
  <p>How can i know if a user minimised the div ?</p>