Added saving and loading to model editor