editor - before move to iframe