Script for nondestructive hide of alert - use data-hide="alert" attribute instead of data-dismiss="alert".