I don't know if it's a bug or my misuse of dialog type but
when I have a window whose property is set to alwaysInFront then I
had never got any confirm() dialog shown. It seems that the window
has overlapped the confirm dialog. Any suggestion on this
windows that use alwaysInFront=true.
Suggestions? -- use alwaysInFront sparingly. Create a custom
alert window that also uses alwaysInFront = true (assuming the
alert is not just for debugging). Turn alwaysInFront off before
displaying an alert.