Generic Modal Dialog Spawner`1 component as seen in the Scene Inspector
The GenericModalDialogSpawer component works in world space. The Generic type it takes has to be a component type. This component activates when on the same slot as a button. When activated, this component attaches a new instance of T to the world, triggers Initializer with the new Component as an argument, and then positions it in front of the user.