US dollar holds modest gains