Conditional "dismissable" alert

This is just to allow for hiding the dismiss button.