Refactored 'Add' button in peopleEditorView.js