[ZD-19229] Performance improvements for listing instances of a template.
[ZD-18365] Disable auto refresh when configuring a template.
[ZD-18386] Accidentally swapped order of Apply and Save buttons.
[ZD-18746] Ensure that endless loops do not rob the controller of memory.