Dow closes above 52,000 for first time as tech rebounds