Review: Javascript Dialog Management for <webview> [fixes #210]