Initial implementation of modal flyouts.

Trying again... I hate Git sometimes!