andButton 
                                id="btnDocSave" 
                                value="Add New" 
                                ajax="false"
                                process="btnDocSave panDoc" 
                                update="msg panDoc cmbDoc " actionListener="#{doctorController.saveSelected()}" styleClass="buttons" oncomplete="dlg.hide();">
                            </p:commandButton>
                        </h:panelGrid>  
                    </p:dialog> 



              