title: <p:dialog appendToBody="true" doesn't call Converter class
body: <p>I am using Primefaces 3.4.2 with JSF 2.0</p>
  
  <p>I have the following in a dialog popup in JSF page.</p>
  
  <pre><code>&lt;p:dialog header="Create New Request" style="font-weight:bold"
          widgetVar="newDialog" resizable="false" id="newDlg"
          showEffect="fade" hideEffect="fade" appendToBody="true"
          modal="true" position="center top" width="850" height="450"&gt;
          &lt;p:panelGrid columns="2"&gt;
          &lt;h:outputLabel value="Employee" for="employee" /&gt;
              &lt;p:selectOneMenu id="employee" value="#{mymb.employee}" 
              converter="#{employeeConverter}"&gt;
           &lt;f:selectItems value="#{mymb.employeeItems}" var="emp"
          itemLabel="#{emp.employeeName}" itemValue="#{emp.employeeNumber}"/&gt;
         &lt;p:ajax listener="#{mymb.loadDepartments}"  process="@this"/&gt;
  &lt;/p:selectOneMenu&gt;
  
          &lt;/p:panelGrid&gt;
          &lt;p:separator /&gt;
              &lt;/p:dialog&gt;
  </code></pre>
  
  <p>If I use <code>appendToBody="true"</code>, then <code>selectOneMenu</code> <code>Converter</code> class doesn't gets invoked, but if I make it <code>appendToBody="false"</code>, then <code>Converter</code> class gets invoked.</p>
  
  <p>What could be the reason for this? <code>appendToBody="false"</code> makes my popup dialog unusable, not able to navigate using mouse.</p>
  
  <p>How can I resolve this issue?</p>