added dismissable option to the alert boxes