Fix note resetting in external note window during file syncing

https://forums.zotero.org/discussion/29008