pass confirmation as data attribute