Jaden McDaniels scored a career-high 27 points, including the clinching free throw with 3 seconds to play, and Anthony Edwards added 21 as Minnesota outlasted short-handed Dallas.