the element reference is stuck in the "DOM". I'm using it as an alternative! destructor TMyDialog.Destroy; begin if (Assigned(Element)) and (Assigned(DefaultParentElement)) then begin DefaultParentElement.removeChild(Element); end; inherited Destroy; end; -- Sent from: http://pas2js.38893.n8.nabble.com/