Dallas loses in a heartbreaker