Add the option to close an alert by added .alert-dismissible
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<strong>Well done!</strong> You successfully read this important alert message.
</div>