I don't Actualy understand your perceived problem. The local storage saves and retains the updates in the browser and if you return to the same address it will be there although some cases of possible loss. To combat this I thought of a export button that exports changes as a backup, where most users can't save to the original file only a backup.
If you try and leave a site even if local storage is up To date it will warn its not saved.
So I think its operation my be different to what you think. I have researched this a lot so when its clearer happy to discuss further.
Regards
Tony