del Widget.widgets[seld.model_id] in close rather than in __del__
merge latest commit from 6216