Removed close function from inside alert-box directive.