Fix parenting of MessageViewerDialog
The execution context does things with the window id, which might help with the parenting issue on Windows