Add department editing in person dialog