title: Keep p:dialog up when validation failed
body: <p>what I want is that the window, which opens to type in some information about a new user(name,password,..), stays open if a validaton error occurs. I already tried many solutions from other posts but it just doesn't stay open. After I clicked on the save button it closes the window. When I reopen the dialog I can see red highlight on the required (and invalid) field. I hope you guys can help me.. I'm trying to solve this shit for 2 days...</p>
  
  <pre><code>&lt;p:commandButton id="save" value="Save" udate="save" icon="ui-icon-disk"
          ajax="false" validateClient="true"
          action="#{userBean.addUser()}" oncomplete="if (args &amp;amp;&amp;amp; !args.validationFailed) PF('newUser').hide()" /&gt;
                          &lt;!-- oncomplete="if (!args.validationFailed &amp;amp;&amp;amp;args.saved) PF('newUser').hide();"  --&gt;
                          &lt;p:commandButton id="cancel" value="Cancel" immidiate="true"
                          oncomplete="PF('newUser').hide()" /&gt;
  </code></pre>