The dollar stayed on the back foot on Friday and was on course for a weekly decline against a basket of currencies as traders wagered that the U.S. Federal Reserve was most likely done with rate increases, lifting risk sentiment. The Fed, however, left the door open to a further increase in borrowing costs in a nod to the economy's resilience.