public void addDependency(final DomUIControl control) {
    control.addCommitListener(new CommitAdapter() {
      @Override
      public void afterCommit(final @NotNull DomUIControl control) {
        reset();
      }
    });
  }
public void addDependency(final DomUIControl control)