Save and close / return text depending on whether you're from old editor.