save the editor