) I guess it just follows the intonation of the speech. When you say "thanks", the voice is raised, then when you say "Sally", it goes down. Hence the comma.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.