Dow, S&P; 500 notch record closing highs but Nvidia shares dip, dollar weakens