add cookie for popup