added close buttons to alert blocks