Adds the functionality to edit existing comments.