add observer for changing of the connected webview's delegate