FIX: bugs preventing to close delete account modal with button (#7904)

FIX: bugs preventing to close delete account modal with button (#7904)

diff --git a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6
index 2c4a2d1..543c3a9 100644
--- a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6
+++ b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6
@@ -173,7 +173,9 @@ export default Ember.Controller.extend(
               label: I18n.t("cancel"),
               class: "d-modal-cancel",
               link: true,
-              callback: () => this.set("deleting", false)
+              callback: () => {
+                this.set("deleting", false);
+              }
             },
             {
               label:

GitHub sha: cb841338