don't recreate editor modes on save unless mode has changed