When writing dialogue, try mixing up your use of beats with speaker attributions. When you just have to define the speaker, be creative, take it as an opportunity to show us readers something more about your character.
"I have to go, now." Lily said.
What about this:
"I have to go." Lily fluttered her hands while turning to leave. Over her shoulder, she added, "Sorry, duty calls."
The second one gives me a sense of Lily's frustration and urgency, along with a visual action that gives some characterization as well.
What do you think? Is it better, or is there even a better way?