The fastest way to improve your story is to write dialogue that dazzles. How? Give each character an opposing goal, and stick to “said.”
These are 2 of the 6 strategies Joslyn Chase writes about in her post about dialogue.
Chase makes good points in her post and I would add, formatting dialogue in a variety of ways also makes reading a more interesting experience. For example, add the dialogue/attribution tag before the sentence or in the middle of a couple of sentences, as well as at the end.
And don’t forget, you only need an attribution (or dialogue) tag, if the reader won’t know who’s talking.
Source: How to Write Dialogue That Dazzles Your Readers
Where Publishing Dreams Become Reality