I have a feeling that this might prevent the `modified` flag from being triggered in `saveNote()`, which may prevent changes from being flushed to database. Have you tested?