diff --git a/core/client/components/gh-modal-dialog.js b/core/client/components/gh-modal-dialog.js index 96c5805026..04cc4860ec 100644 --- a/core/client/components/gh-modal-dialog.js +++ b/core/client/components/gh-modal-dialog.js @@ -13,9 +13,10 @@ var ModalDialog = Ember.Component.extend({ this.$('.js-modal-background').on('animationend webkitAnimationEnd oanimationend MSAnimationEnd', function (event) { if (event.originalEvent.animationName === 'fade-out') { self.$('.js-modal, .js-modal-background').removeClass('open'); - self.sendAction(); } }); + + this.sendAction(); }, confirmaccept: 'confirmAccept',