Adding a possibility to not hide the view on button click

Hi.

After a success http post authentification in my app, I show the alert view success during for example 5 seconds before redirecting to the home. But If I close the alert view and redirect, I don't know If it's safe to quit a view with the alert view open. 

So I added in your project an hideOnButtonClick optional property like that it can be modal.

Cheers.