Moved the API calls for edit section from the Add people tool to canvas_utils.
Also incorporated some feedback from code review.