If my memory doesn't lie to me, I think its a load dye, which only dyes the DNA sample to visually assist during the loading of the samples into the "wells" of the gel. Otherwise you can't be sure whether you put it inside the well or somewhere into the surrounding buffer.