title: p:commandButton p:confirm actionListener not triggering
body: <p>Primefaces actionListener is not working in p:confirmDialog . Can someone help? The saveRecord works fine in a simple dialog box.</p>
  
  <pre><code>&lt;p:commandButton value="Save" actionListener="#{EmployeeDetailsComponent.displayInfo}"&gt;
      &lt;p:confirm header="Attention" message="test" icon="ui-icon-alert" /&gt;
  &lt;/p:commandButton&gt;
  
  &lt;p:confirmDialog global="true" showEffect="fade" hideEffect="explode" appendToBody="true"&gt;
      &lt;p:commandButton value="Save"  action="#{TestComponent.saveRecord(TestComponent.testData)}" styleClass="ui-confirmdialog-yes" icon="ui-icon-check" /&gt;
      &lt;p:commandButton value="Cancel" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" /&gt;
  &lt;/p:confirmDialog&gt;
  </code></pre>