Additionally, the dialog could be recorded after the fact, especially if the distance is great enough that their lip movements are ambiguous.
How is the sound recorded when the camera is far from the subject? I guess an example would be in Reservoir Dogs when the subjects talking are in the middle of a big room... where is the sound recorded from? Lavalieres?