How to handle alert for Safari browser in selenium webdriver?
<p>Code is running fine in all browser but alert cant handle when I run case in safari browser. Alert is not showing in safari following expection I got. </p>

<blockquote>
  <p>"org.openqa.selenium.UnhandledAlertException: A modal dialog was
  opened. The SafariDriver does not support interacting with modal
  dialogs. To avoid hanging your test, the alert has been dismissed. For
  more information, see
  <a href="http://code.google.com/p/selenium/issues/detail?id=3862" rel="nofollow">http://code.google.com/p/selenium/issues/detail?id=3862</a>: Please
  provide a valid email address."</p>
</blockquote>

<p>I put time wait also but no use.</p>