if a user hides alerts, it saves in the cookies