pass window stage to Editor