Preheat the oven: Set to 350°F (175°C). Lightly grease a small baking dish (about 1–1.5 quarts).
Prep the onions: Peel and finely chop the Vidalia onions. Smaller pieces cook more evenly and make for a smoother dip.
Mix the base: In a large bowl, combine the chopped onions, mayonnaise, and shredded Swiss cheese.
Stir until evenly coated. Add a light pinch of pepper if you like.
Fill the dish: Spread the mixture into the prepared baking dish, smoothing the top. For extra color, you can sprinkle a little more cheese over the surface.
Bake: Place on the center rack and bake 25–35 minutes, until the top is lightly golden and the edges are bubbling.
The onions should be tender.
Rest and serve: Let it sit for 5–10 minutes to thicken slightly. Garnish with chopped chives if using. Serve warm with sturdy crackers, baguette slices, pita chips, or veggies.