Which line of dialogue uses correct punctuation?

"Don't be silly, said Jill."
"But there's a no trespassing sign", Maria argued.
No one takes those seriously, said Jill.
"I'm not sure it's a good idea to be here," said Maria.

"I'm not sure it's a good idea to be here," said Maria.