title: Primefaces confirmDialog does nothing in actionListener
body: <p>I have a <code>comandButton</code> which calls to a <code>confirmDialog</code> which  must eliminate a user, but it never calls  method that there is in its actionListener.</p>
  
  <p>This is the code:</p>
  
  <pre><code>&lt;p:dialog id="dialogEditar" widgetVar="dialogEditar" header="#{bundle_usuarios.usuarios_titulo_edicion}" resizable="false"&gt;
      &lt;p:panelGrid id="panelEditar"
          &lt;p:row&gt;
              &lt;p:column&gt;
                  &lt;p:commandButton id="btModificar" type="submit" actionListener="#{usuariosMB.modificarUsuario()}"
                               value="#{bundle_general.general_modificar}" update="formEditar" rendered="#{usuariosMB.permisoCtMenu}"/&gt;
              &lt;/p:column&gt;
              &lt;p:column colspan="7"&gt;
                  &lt;p:commandButton id="btEliminar" type="button" onclick="confirmation.show()"
                                value="#{bundle_general.general_eliminar}"/&gt;
              &lt;/p:column&gt;
          &lt;/p:row&gt;
      &lt;/p:panelGrid&gt;
      &lt;p:confirmDialog appendToBody="true" id="confirmDialog" message="#{bundle_usuarios.usuarios_confirma}"
                       header="#{bundle_usuarios.usuarios_titulo_confirma_eliminar}" severity="alert" widgetVar="confirmation"&gt;
          &lt;p:commandButton id="confirm" type="submit" value="#{bundle_usuarios.usuarios_aceptar_eliminar}"
                           update="dialogEditar, formEditar" oncomplete="confirmation.hide()"
                           actionListener="#{usuariosMB.eliminarUsuario()}" rendered="#{usuariosMB.permisoCtMenu}" /&gt; 
          &lt;p:commandButton id="decline" value="#{bundle_usuarios.general_cancelar}" onclick="confirmation.hide()" type="button" /&gt;
      &lt;/p:confirmDialog&gt;
  &lt;/p:dialog&gt;
  </code></pre>
  
  <p>If i put the same code, without confirmDialog, it runs and deletes the user without problems.</p>
  
  <p>The code that runs with success is the next:</p>
  
  <pre><code>&lt;p:dialog id="dialogEditar" widgetVar="dialogEditar" header="#{bundle_usuarios.usuarios_titulo_edicion}" resizable="false"&gt;
      &lt;p:panelGrid id="panelEditar"
          &lt;p:row&gt;
              &lt;p:column&gt;
                  &lt;p:commandButton id="btModificar" type="submit" actionListener="#{usuariosMB.modificarUsuario()}"
                               value="#{bundle_general.general_modificar}" update="formEditar" rendered="#{usuariosMB.permisoCtMenu}"/&gt;
              &lt;/p:column&gt;
              &lt;p:column colspan="7"&gt;
                   &lt;p:commandButton id="btEliminar" type="submit" actionListener="#{usuariosMB.eliminarUsuario()}" value="#{bundle_general.general_eliminar}" update="dialogEditar, formEditar" rendered="#{usuariosMB.permisoCtMenu}"/&gt;
              &lt;/p:column&gt;
          &lt;/p:row&gt;
      &lt;/p:panelGrid&gt;
  &lt;/p:dialog&gt;
  </code></pre>
  
  <p>Another thing, when I click on the commandButon with id="confirm", the confirmDialog never dissapear and it stays blocked in the window.</p>
  
  <p>If you need more details, say me which require.
  Please, any suggestion?
  Thanks!</p>