fix read properties use callback mode, then update & save issues

when use the callback mode to create the `editor`, then update the value and save, the file messed up.

it seems commit d6bee640e6a3e34782d6d37bc4008298cd35964a introduce the bug.