<commit_before>(function () {
  'use strict';

  angular.module('exceptionless.stack-dialog')
    .controller('MarkFixedDialog', ['$ExceptionlessClient', '$uibModalInstance', function ($ExceptionlessClient, $uibModalInstance) {
      var source = 'app.stack-dialog.MarkFixedDialog';
      var vm = this;

      function cancel() {
        $uibModalInstance.dismiss('cancel');
      }

      function save(isValid) {
        if (!isValid) {
          return;
        }

        $ExceptionlessClient.createFeatureUsage(source + '.save').setProperty('version', vm.data.version).submit();
        $uibModalInstance.close(vm.data.version);
      }

      vm.cancel = cancel;
      vm.save = save;
      $ExceptionlessClient.submitFeatureUsage(source);
    }]);
}());
<commit_msg>Fixed an issue where marked fixed dialog wouldn't always close.<commit_after>(function () {
  'use strict';

  angular.module('exceptionless.stack-dialog')
    .controller('MarkFixedDialog', ['$ExceptionlessClient', '$uibModalInstance', function ($ExceptionlessClient, $uibModalInstance) {
      var source = 'app.stack-dialog.MarkFixedDialog';
      var vm = this;

      function cancel() {
        $uibModalInstance.dismiss('cancel');
      }

      function save(isValid) {
        if (isValid === false) {
          return;
        }

        $ExceptionlessClient.createFeatureUsage(source + '.save').setProperty('version', vm.data.version).submit();
        $uibModalInstance.close(vm.data.version);
      }

      vm.cancel = cancel;
      vm.data = {};
      vm.save = save;
      $ExceptionlessClient.submitFeatureUsage(source);
    }]);
}());

{'fraction_non_alphanumeric': 0.14566687154271665, 'fraction_numerical': 0.0, 'mean_word_length': 3.0397022332506203, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3225448', 'n_tokens_mistral': 463, 'n_tokens_neox': 453, 'n_words': 77}