Call unmodified on project load, wasn't firing on page refresh before
store.dispatch(actions.setSection(section))
});
- let modified = false;
+ let modified = true;
store.subscribe(() => {
const state = store.getState();
if(!modified && state.document.modified) {
