Fixed bug that would cause unsaved popup when editor form was submitted.