fix editor placement in popup