Bootstrap 3.x compatibility

add class "alert-dismissible" when allow_dismis = true and change close button pattern