holding on to editor object created by script code so