Preparing modal for editing notes.