title: Make p:dialog scrollable when working with maximizable
body: <p>Does anyone know how to make a p: dialog work with maximizable and also scroll? </p>
  
  <p>If the window is maximized with the scroll it gets bugged and scrollbar disappears. </p>
  
  <p>I am using p:dialog from primefaces.</p>