Modal windows not appearing

I upgraded to the most recent SmartGWT nightly - rev 279. But now some modal windows do not appear. The pattern I’m finding is that the modal dialog usually opens and functions fine the first time but if I re-open it, it doesn’t show. The content that is supposed to be “underneath” the modal window does gray - I call Window.setIsModal(true) and Window.setShowModalMask(true). But the actual modal window doesn’t show.

The dev console shows this warning/error:

11:46:35.149:MUP7:WARN:Log:Error:
	'Invalid source HTML for this operation.'
	in http://localhost:8888/com.rg.gwt.main.RgGwt/RgGwt.html
	at line 1549
    Element.insertAdjacentHTML(_1=>[TDElement]{ID:isc_7X}, _2=>"afterBegin", _3=>"<FORM ID=isc_7W METHOD=POST ACTION='#' E..."[5217], _4=>undef)
    Canvas.$p9()
    Canvas.draw(_1=>undef, undef, undef, undef, undef, undef, undef, undef)
    Class.invokeSuper(_1=>[Class DynamicForm], _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
    DynamicForm.draw(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
    Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
    Layout.drawChildren()
    ** recursed on Canvas.draw

This completed hoses my app as the modal window modal mask doesn’t allow any further input. I have to reload my gwt app to get around it.

This worked perfectly with SmartGWT revision 272.

I overrode the onDraw() method and added a GWT.log() call followed by super.onDraw() and saw that when the modal window fails to open, onDraw() is not called - it is when the modal dialog works properly.

Any idea what could be wrong?

thanks,
Tom

Can you post a standalone test for this? I tried the modal window sample in Showcase and it ran fine.

Sanjiv