Issue #21982: Add minimal unittest for configDialog with 46% coverage.
Fix regression that this test would have caught.