title: Primefaces dialog event for unmaximize?
body: <p>My basic question is "Is there an event for unmaximize of dialog", i know i can register ajax for 'maximize' event but what about event that happeneds after comming back from full-screen mode back to normal size ?"</p>
  
  <p>Description of the problem im facing right now:
  "When dialog comes back from full-screen to normal mode, the scrolls disappear." </p>
  
  <p>Contents of file:</p>
  
  <pre><code>&lt;p:dialog ... width="600" height="400" maximize="true"&gt;
     &lt;p:panel style="overflow:auto;"&gt;
        &lt;p:dataTable style="min-width:800px !important;"&gt;
             ....cols/data ~height~600px;
        &lt;/p:dataTable&gt;
     &lt;/p:panel&gt;
  &lt;/p:dialog&gt;
  </code></pre>
  
  <p>On .show() action everything looks ok, same on resize action scrolls are rendered in correct way. Everything breaks up after UNmaximize action (comming back to normal size mode).</p>
  
  <p>Primefaces ive tried and reproduced the problem are both my project version 3.5.RC1 and newest 5.2. </p>
  
  <p>Assuming that in the newest version problem is still present, i need to implement some workaround, but wasnt able to :(</p>