Teleport

TheDialog 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.

The Teleport can be used to relocate other elements too, in the rare cases that's useful.

Use only when necessary or fun.