assigning notes to other models
modal window fix