title: Problems with PrimeFaces's dialog component
body: <p>In my application, when the user clicks <code>Reply</code> to a comment, I will show a dialog for typing the message. Please see the picture below.</p>
  
  <p><img src="https://i.stack.imgur.com/WyzBd.png" alt="Reply dialog"></p>
  
  <p>As you can see, I have 2 problems with the dialog.</p>
  
  <ol>
  <li>It is partially hidden by the <code>&lt;p:layoutUnit&gt;</code> on the right.</li>
  <li>When I add the attribute <code>modal="true"</code> to the dialog, the dialog itself is also not accessible. </li>
  </ol>
  
  <p>I'd be very grateful if you could give me some advice on how to tackle these problems.</p>
  
  <p>Best regards,</p>