clean ref to editor on scope destroy