[dev-overlay]: remove dependency on platform for focus trapping (#76849)
We currently vendor `platform` and `medialize/ally` to tackle focus
trapping in the error overlay. We already use a custom focus trap util
for most cases such as the indicator / popover, so there isn't much
reason to have forked handling here, and `platform` is quite large.
https://github.com/user-attachments/assets/1bc8a065-9892-4ce1-90a3-c714479dc236
Closes NDX-877