Yes, that's where I am getting caught up. For a spring, each small distance you move affects the spring force, and that force is applied specifically for that small distance dx.
But for a capacitor, each small charge you add to the plate increases the voltage, but why is that voltage applied...