title: How to position a p:dialog in Prime Faces after its resizing
body: <p>I have a Prime Faces <code>p:dialog</code> that has been resized while new components are inserted when opened ('show' state). However its position doesn't change and it's size is increasing from the down left corner until the page bottom.</p>
  
  <p>I need to reposition it every time I render new components dynamically. Is there any JavaScript function I can call to its widget to reposition?</p>
  
  <p>I'm using PrimeFaces 3.5 with Mojarra 2.1.13.</p>