Fixed save_enablewhendirty

Now when save_enablewhendirty is set to false, the save button will be enabled when the editor loads. When set to true or not set, the button will be disabled until changes are made