TOWebViewController: Exposed the web view as a public property, and refined the modal popup state detection conditions.