Issue #24033:remove dialog related connections