implement delete note in UI