Issue #21982: Add minimal unittest for configDialog with 46% coverage.