Drop the flex:1 Models section in favor of a maxHeight, and let the outer modal scroll so the whole sheet is reachable when the viewport can't fit it.
Drop the flex:1 Models section in favor of a maxHeight, and let the outer modal scroll so the whole sheet is reachable when the viewport can't fit it.