(CS) Bugfix creating a template when clicking on abort on safari browsers