Add error checking to AddEmployeeDialog