Think of dialogue between two people as transitional. They aren't just saying words. There's a goal to the dialogue. There's action and moving the story forward. So make sure there's a purpose to the dialogue and the reader will understand what's happening both within and without the characters. Remember people may say one thing and mean something else. Using internal dialogue that gives a different meaning to the dialogue can really help.