           oncomplete="PF('dlgPath').show();" 
                                                 process="acTemplate btnAddPathReport" update="dlgPath" 
                                                 value="Add Template to Report" actionListener="#{patientReportController.toAddNewTemplate()}" ></p:commandButton>
                                <p:commandButton value="Edit Selected Template" ajax="false" action="#{patientReportController.toEditTemplate()}" >
                                </p:commandButton