I would also like to know if trainers are supposed to not have dialogue after a battle if they give you something, or if that's just a bug, I'm using 1.7.10, but I didn't see this in the change-log.
One more thing I'm wondering, is if it's somehow possible to detect when a player wins or loses a battle against an NPC?