adds note display functionality to events and tasks