title: Why closing p:dialog is reloading the page
body: <pre><code>&lt;p:dialog header="#{bundle['ref.details']}" id="detailsDial"
                      widgetVar="detailsDialog" style="max-width:800px"&gt;
                      &lt;p:button value="#{bundle['close']}"
                          onclick="PF('detailsDialog').hide()" /&gt;
                  &lt;/p:dialog&gt;
  </code></pre>
  
  <p>There are not other form around the dialog, there is not form inside the dialog. Here is something very little that I miss but what. I don't know what other information to give because really don't understand how p:button would reload the page being client side only? There is not javascript included. Also there aren't error messages in the firebug console. Outside I'm using template like this:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"&gt;
  &lt;h:body&gt;
  &lt;ui:composition template="/maintemplate.xhtml"&gt;
  &lt;ui:define name="content"&gt;
  &lt;p:dialog ....
  </code></pre>