anchor.diff:    void _restoreDialog() {
       SparkDialogButton commitButton = getElement('#gitCommit');
       commitButton.disabled = false;
  +    commitButton.deliverChanges();
   
       SparkDialogButton closeButton = getElement('#gitCommitCancel');
       closeButton.disabled = false;
  +    closeButton.deliverChanges();
       _toggleProgressVisible(false);
     }
   
  
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: 
      SparkDialogButton commitButton = getElement('#gitCommit');
      commitButton.disabled = true;
      commitButton.deliverChanges();
  
      SparkDialogButton closeButton = getElement('#gitCommitCancel');
      closeButton.disabled = true;
      closeButton.deliverChanges();
  
      _setProgressMessage("Committing…");
      _toggleProgressVisible(true);
  