Implemented edit notes UI behavior, and added pre tag to allow for displaying formatted content in the view note modal.