Dollar edges up, hits highest level in more than 4 months against euro