anchor.diff:      _show();
     }
   
  -  void onSubmit(Event e) {
  -    e..stopPropagation()..preventDefault();
  -    _commit();
  -  }
  -
     void _restoreDialog() {
       SparkDialogButton cloneButton = getElement('#clone');
       cloneButton.disabled = false;
  
positive.code:     }).then((_) {
        _show();
      });
    }
  
    void onSubmit(Event e) {
      e..stopPropagation()..preventDefault();
      _commit();
    }
  
    void _commit() {
  
negative.code:     final Element submitBtn = _dialog.getElement("[submit]");
      if (submitBtn != null) {
        submitBtn.onClick.listen((Event e) {
          _onSubmit(e);
        });
      }
    }
  
    void _onSubmit(Event e) {
      _commit();
    }
  
  