adds alert class for message verification