Moved anchor action confirmation from local template to main.js, fixes multiple listener assignments