fixes #4982 ACE editor is not saving data