depends on the conversation you had with the dealer. without being there, it's hard to determine what was said and who was right.
as others already pointed out, should never buy a sick fish even with intention to take it home for a treatment. too much risks. not worth the money or effort. I don't even take sick fish home for free let alone buying. whatever you spent on the dead fish, I guess you can think of it as a paid lesson.
Steve