I (re)tested out the template wizard by using the javascript code. It works well at Chrome and Firefox.
However, I was testing the wizard at IE11 on Windows 7. When I was trying to insert a template, the wizard won't load, i.e. it won't insert the template. I clicked the "Cancel" button, but it won't stop or do anything else.
I retried the wizard again and F12 console and debugger to detect exceptions, which I found as shown below:
I was also using the gadget to display javascript errors: