added animation to alert message