On the output tab for each dispenser, add these values with the corresponding numbers:
My output named: OnDestroyed
Target entities named: template1
Via this input: ForceSpawn
After a delay in seconds of: 10
Hammer will say this is an invalid output, ignore that. Adjust the delay to the number of seconds you want the dispensers to take to respawn.