Add cookies for alert hiding