anchor.diff:  
       SparkDialogButton commitButton = getElement('#gitCommit');
       commitButton.disabled = true;
  +    commitButton.deliverChanges();
   
       SparkDialogButton closeButton = getElement('#gitCommitCancel');
       closeButton.disabled = true;
  +    closeButton.deliverChanges();
   
       _setProgressMessage("Committing…");
       _toggleProgressVisible(true);
  
positive.code:     // TODO(grv): Add verify checks.
      _GitCommitJob commitJob = new _GitCommitJob(gitOperations, _gitName, _gitEmail,
          _commitMessageElement.value, spark);
      return spark.jobManager.schedule(commitJob).then((_) {
        _restoreDialog();
        _hide();
      });
  
negative.code:     final int addedCnt = addedFileList.length;
      final int deletedCnt = deletedFileList.length;
  
      SparkDialogButton commitButton = getElement('#gitCommit');
      if (modifiedCnt + addedCnt + deletedCnt == 0) {
        _gitStatusElement.text = "Nothing to commit.";
        commitButton.disabled = true;
        commitButton.deliverChanges();
      } else {
        commitButton.disabled = false;
        commitButton.deliverChanges();
        _gitStatusElement.text =
            '$modifiedCnt ${(modifiedCnt != 1) ? 'files' : 'file'} modified, ' +
            '$addedCnt ${(addedCnt != 1) ? 'files' : 'file'} added, ' +
  