modified addCode.handlebars
modified confirm.handlebars and createEvent.handlebars