Markets close at records, after Dow dipped Monday