Amending to include additional HSA contribution

when I step through the amendment process it is now calculating a refund rather than reducing the amount I owe.  do I pay the original tax liability and then the amendment refund will eventually offset it?