Never thought about it. Does the electric field set up between the plates oppose the insertion of the dielectric?
Wild guess on my part: The energy is used to attract the dielectric, because the capacitor system with it has lesser energy (i.e. more preferable) than the capacitor without the dielectric. Comment?