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. 

> 
> "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
>  <http://code.google.com/p/selenium/issues/detail?id=3862>: Please
>  provide a valid email address."
> 
> 
> 

I put time wait also but no use.