Chuck, have you tried checking $.summary(); and see if the window stays in memory after closing?
Also, you could try deleting it like this:
var mW = new Window ( "dialog", "Test Dialog" ), _txt = mW.add ( "statictext", undefined, "Test dialog..." ), bOK = mW.add ( "button", undefined, "OK" );
bOK.onClick = function () { mW.close (); // DELETE WINDOW mW = null; delete mW; // FORCE GARBAGE COLLECTION $.gc ();};
mW.center ();
mW.show ();
Hope that helps.
--
Marijan (tomaxxi)