With wikitext editing, people work around this by writing long articles in word, or relying on browsers remembering form data if it crashes.
Perhaps with local storage we can take periodic snapshots of DM HTML, or even the entire surface state (DM data, IV store, internal list, transaction history etc.) and offer to restore it if the changes went unsaved.
See also: