Fix searchNotesInOneDocument method.
Add edit button in view book/article note dialog.