Probing the spatial dispersion in a dense atomic vapor near a dielectric interface