Adding a confirmation dialog when deleting a member