fetch note data for note-detail view