implement add_note in UI