handle webview alerts somewhat