Fix check for unsaved changes when adding multiple notes
Merge pull request #558 from timrae/fixUnsavedChanges

Fix check for unsaved changes when adding multiple notes