Both.
Is what way was the dialogue poorly edited?
For example, when the man and the woman are talking outside by the car, you can hear the cuts between her dialogue and his dialogue. Turn the volume up on your computer, and you'll hear there is extra noise every time they begin speaking, and stop speaking.
What could I have done to improve it?
Read my comment again.