Added a working test that shows the dialog.
Now to figure out what is different in my main app...