diff --git a/lib/gui/components/modal/services/modal.js b/lib/gui/components/modal/services/modal.js index eba4da83..5452607d 100644 --- a/lib/gui/components/modal/services/modal.js +++ b/lib/gui/components/modal/services/modal.js @@ -62,7 +62,7 @@ module.exports = function($uibModal, $q) { // Bootstrap doesn't 'resolve' these but cancels the dialog; // therefore call 'resolve' here applied to 'false'. if (error === 'escape key press' || error === 'backdrop click') { - resolve(false); + resolve(); // For some annoying reason, UI Bootstrap Modal rejects // the result reason if the user clicks on the backdrop