added modal and cookie setter