Hi John,
I added some information for the release notes for this jira
issue, http://jira.openlaszlo.org/jira/browse/LPP-3539.
This link,
http://jira.openlaszlo.org/jira/browse/LPP-3539?page=comments#action_35493
takes you directly to the comment.
Phil
Information for the 4.0 release notes:
Using <modaldialog> directly causes a Laszlo application to hang in IE 6/7
under dhtml. Here is an example that does not work properly in IE6/dhtml or
IE7/dhtml:
<canvas>
<button onclick="md.open();">Show Modal Dialog</button>
<modaldialog id="md" width="200" height="100" title="Modal Dialog">
<button onclick="parent.close()">OK</button>
</modaldialog>
</canvas>
The workaround is to create your own class that derives from <modaldialog>.
The above code can be rewritten as:
<canvas>
<class name="safemodaldialog" extends="modaldialog"/>
<button onclick="md.open();">Show Modal Dialog</button>
<safemodaldialog id="md" width="200" height="100" title="Modal Dialog">
<button onclick="parent.close()">OK</button>
</safemodaldialog>
</canvas>
The only change is creating a class <safemodaldialog> that derives from
<modaldialog>, and changing any references from <modaldialog> to
<safemodaldialog>. This second example works in all supported browsers in
dhtml and swf.