editor modal and panning