Fix dialogue click-through in editors