Dialog uses the
Teleport to mount itself to a top-level DOM
element, instead of the location that the
Dialog component appears in code, solving
various issues like unwanted style inheritance.
Teleport can be used to relocate other elements too, in the rare cases that's
Use only when necessary or fun.