MDL-47736 editor_atto: only save/restore draft when necessary