title: selectBooleanCheckBox does not work seperatly in p:dialog
body: <p>I have button that when I click on it, the dialog appear and in that dialog , I have <code>p:selectBooleanCheckBox</code> and <code>h:outputlable</code>.     </p>
  
  <p>The first problem is  when p:dialog appear I can not choose <code>p:selectBooleanCheckBox</code> separately. It means that when I click on one of them, all of <code>p:selectBooleanCheckBox</code>  choose.     </p>
  
  <p>The second problem is when I click on <code>p:commandButton</code> in dialog , the <code>actionListener</code> work but it dos not disappaer and it shows permanently. I think the problem cause by Ajax. could you please tell me how can I fix this problem?</p>
  
  <pre><code>              &lt;h:panelGrid&gt;
                  &lt;p:dialog  appendToBody="true"  header="Selected Values" modal="false" showEffect="fade" hideEffect="fade" widgetVar="dlg"&gt;  
                          &lt;h:panelGrid columns="1" id="display"&gt;  
                              &lt;p:dataGrid id="AcceptDataGrid" var="tBusinessPartnerRequestInfo" value="#{inviteRequestManagedBean.filterBusinessRequest()}"
                                          columns="1" &gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;
                                          &lt;p:selectBooleanCheckbox/&gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;h:outputLabel value="test"/&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                              &lt;/p:dataGrid&gt;
                          &lt;p:commandButton  id="acceptCommonButton" value="#{inviteRequest_msg.accept}"  
                                            actionListener="#{inviteRequestManagedBean.acceptRequest(tBusinessPartnerRequestInfo.id)}" 
                                            update="display" /&gt;
                          &lt;/h:panelGrid&gt; 
  
  
                  &lt;/p:dialog&gt;
              &lt;/h:panelGrid&gt;
  </code></pre>
  
  <hr>
  
  <p>
            </p>
  
  <pre><code>            &lt;table style="width: 100%" id="tabell"&gt;
                  &lt;p:selectOneButton  value="#{inviteRequestManagedBean.filterType}"&gt;  
                      &lt;f:selectItem itemLabel="#{inviteRequest_msg.request}" itemValue="request" /&gt;  
                      &lt;f:selectItem itemLabel="#{inviteRequest_msg.archive}" itemValue="archive" /&gt;   
                      &lt;f:ajax event="change"  execute="@form" render="@form" /&gt;             
                      &lt;tr&gt;
                          &lt;td&gt;
                              &lt;p:panel&gt;&lt;/p:panel&gt;
  
                              &lt;p:dataGrid id="requestDataGrid" var="tBusinessPartnerRequestInfo" 
                                          value="#{inviteRequestManagedBean.filterBusinessRequest()}" columns="1" &gt;
  
                                  &lt;p:column&gt;
                                      &lt;div&gt;
                                          &lt;table border="0"  width="100%"&gt;
                                              &lt;tr&gt;
                                                  &lt;td&gt;
                                                      &lt;p:graphicImage value="#{tBusinessPartnerRequestInfo.partySender_imageUrl}"/&gt;
                                                  &lt;/td&gt;
                                                  &lt;td&gt;
                                                      &lt;div&gt;
                                                          &lt;table border="0" width="100%"&gt;
                                                              &lt;tr&gt;
                                                                  &lt;td&gt;
                                                                      &lt;h:outputLabel value="#{tBusinessPartnerRequestInfo.requestDate}"/&gt;
                                                                  &lt;/td&gt;
                                                              &lt;/tr&gt;
                                                              &lt;tr&gt;
                                                                  &lt;td&gt;
                                                                      &lt;h:outputLabel value="#{tBusinessPartnerRequestInfo.partySender_fullName}"/&gt;
                                                                  &lt;/td&gt;
                                                              &lt;/tr&gt;
                                                          &lt;/table&gt;
                                                      &lt;/div&gt;
                                                  &lt;/td&gt;    
  </code></pre>
  
  <p>here is where p:dialog call                            </p>
  
  <pre><code>                                                &lt;td&gt;
  
                           &lt;p:commandButton  id="acceptCommonButton" value="#{inviteRequest_msg.accept}"
                                                                        onclick="dlg.show()" /&gt;
                                                  &lt;/td&gt;
  
  
                                                  &lt;td&gt;
                                                      &lt;p:commandButton  id="noNowCommonButton" value="#{inviteRequest_msg.notnow}"  
                                                                        actionListener="#{inviteRequestManagedBean.notNowRequest(tBusinessPartnerRequestInfo.id)}" 
                                                                        update="@form" /&gt;
                                                  &lt;/td&gt;
                                                  &lt;p:blockUI block="acceptCommonButton" trigger="acceptCommonButton"/&gt;
                                                  &lt;p:blockUI block="noNowCommonButton" trigger="acceptCommonButton"/&gt;
                                                  &lt;p:blockUI block="acceptCommonButton" trigger="noNowCommonButton"/&gt;
                                                  &lt;p:blockUI block="noNowCommonButton" trigger="noNowCommonButton"/&gt;
  
                                                  &lt;td&gt;
                                                      &lt;p:panel&gt;
                                                          &lt;p:ajaxStatus&gt;
                                                              &lt;f:facet name="start"&gt;
                                                                  &lt;p:graphicImage value="../resources/img/loading.gif"/&gt;
                                                              &lt;/f:facet&gt;
                                                              &lt;f:facet name="complete"&gt;
                                                                  &lt;h:outputLabel value=""/&gt;
                                                              &lt;/f:facet&gt;
                                                          &lt;/p:ajaxStatus&gt;
                                                      &lt;/p:panel&gt;
                                                  &lt;/td&gt;
                                              &lt;/tr&gt;
                                          &lt;/table&gt;
                                      &lt;/div&gt;
                                      &lt;hr/&gt;
                                  &lt;/p:column&gt;
                              &lt;/p:dataGrid&gt;                   
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/p:selectOneButton&gt;
  
              &lt;/table&gt;
  
      &lt;/h:panelGrid&gt;
      &lt;h:panelGrid&gt;
          &lt;p:dialog  appendToBody="true"  header="Selected Values" modal="false" showEffect="fade" hideEffect="fade" widgetVar="dlg"&gt;  
                  &lt;h:panelGrid columns="1" id="display"&gt;  
                      &lt;p:dataGrid id="AcceptDataGrid" var="tBusinessPartnerRequestInfo" value="#{inviteRequestManagedBean.loadPartyRelationShipType()}"
                                  columns="1" &gt;
                          &lt;tr&gt;
                              &lt;td&gt;
                                  &lt;p:selectBooleanCheckbox/&gt;
                              &lt;/td&gt;
                              &lt;td&gt;
                                  &lt;h:outputLabel value="test"/&gt;
                              &lt;/td&gt;
                          &lt;/tr&gt;
                      &lt;/p:dataGrid&gt;
                   &lt;p:commandButton  id="acceptCommonButton" value="#{inviteRequest_msg.accept}"  
                                    actionListener="#{inviteRequestManagedBean.acceptRequest(tBusinessPartnerRequestInfo.id)}" 
                                    update="display" oncomplete="dlg.hide()"  /&gt;
  
                  &lt;/h:panelGrid&gt; 
  
          &lt;/p:dialog&gt;
      &lt;/h:panelGrid&gt;
  &lt;/ui:composition&gt;
  </code></pre>