Scene.getInstance().setEdited(true) was inserted into all the places
needed to save any savable state.