This simulates a long page. The modal sits above it. With container: nearest, clicking items inside the modal only scrolls the modal — this page area stays put. Scroll this outer container down first, then open the modal and click items.
More page content below the fold — this line shows whether the outer scroller moved.
Even more page content here, far below the modal trigger button.
Bottom of the simulated page.