When button is clicked, only report cookies if there are any cookies