Convert to custom control and refactor styling

The emulated dialog is now a custom Window control instead of a straight
Window xaml view. Styling has been moved into separate resources and
some basic (tho, admittedly, messy) styling properties have been added.
This gives the emulated dialog some basic re-styling support, though
with caveats.