A portal can place modal DOM outside a clipped or stacked parent while keeping the modal controlled by the same React component tree.