Fixed access violation when closing popup...

...while dispose of BrowserWrapper when closing a popup


im back with a bugfix