Implement edit section UI behavior, and fixed issue where multiple event handlers were attaching to the same element.