Adding dialog box functionality.

Also preparing selective GSAP support for current and future use.