Added Publish Confirmation option to Publish sampler