Which bit of dialogue has correct punctuation?
"I'm not going to the dance, she said loudly."
"I'm not going to the dance," she said loudly.
I'm not going to the dance, she said loudly.
"I'm not going to the dance" she said loudly.