(Not a Teacher)
It's your writing, you can arrange it however you want, as long as the reader can follow it. What you've got now looks fine to me. That said, whenever I see extended dialogue in a novel, each line of dialogue is separated by a space.
You might message Barb D, she's a writer and could probably give you some good pointers.
Interested in Language