First show what you tried.
Webview can be closed by removing that WebView and setting previous webview as active.