Bug Description

The only way to "close" a webview is by removing it from the scenegraph and deleting it. However, this doesn't allow the current pages beforeunload or unload handlers to run. We should probably have a mechanism to do this properly.