Restricts keyboard and screen reader access to a single element. All other content becomes inert.
Modal 1 — root level
Modal 2 — shallow nest
Modal 3 — deep nest (10 levels)