text: Template.survey.events({
  	'click button.skip': function(e, instance) {
  		instance.$('#survey').remove();
  	},
  
  	'click button.send': function(e, instance) {
  		const formData = instance.$('form').serializeArray();
  		Meteor.call('livechat:saveSurveyFeedback', visitor.getToken(), visitor.getRoom(), formData, function(/*err, results*/) {
  			instance.$('#survey').remove();
  			swal({
  				title: t('Thank_you_for_your_feedback'),
  				type: 'success',
  				timer: 2000
  			});
  		});
  	}
  });
  