Implement modal flyouts.

Inspired by GitHub for Windows, provides an initial implementation of modal flyouts by setting Flyout.IsModal = true.