added close feature to alerts
fixed changes