   <p:dialog id="panDoc" header="Add New Doctor" widgetVar="dlg" resizable="false" modal="true" class="p-2" showEffect="fade"  width="450">  
                        <h:panelGrid columns="2" >  
                            <p:outputLabel id="lblNameD" value="Name" ></p:outputLabel>
                            <p:inputText autocomplete="off" id="txtNameD"  value="#{doctorController.current.person.name}"  ></p:inputText>
                            <p:outputLabel id="lblPhoneD" value="Phone" ></p:outputLabel>