Product review (5 stars): This did the trick.
Looks to be identical to the snapped cord one it replaced (except for being in one piece). The spring on that side was still in good condition as was the rope and swing on the other side of the dishwasher. Our Samsung dishwasher door now closes properly.