Added dismiss buttons to alert boxes