dlg.showmodal to destroy to early