title: why p:commandButton inside p:dialog does not fire actionListener?
body: <pre><code>&lt;h:form prependId="false"&gt;
  
  &lt;p:dialog modal="true"&gt;
  
  &lt;p:commandLink ajax="true" value="ok" actionListener="Bean.listenerMethod"/&gt;
  
  &lt;/p:dialog&gt;
  
  &lt;/h:form&gt;
  </code></pre>
  
  <p>I had some other controls too inside the form. When the link is clicked that listener was not fired. What might be the problem? please help!</p>