return inAppBrowser instance from popup method