Tweak alerts.

Add a dismissible alert for the browser case.

Many thanks to @hnrch02 for his awesome snippet to save the dismissible alerts' state!