public void LaunchDemoDialog() { using (var dlg = new DialogWithLinkToSettings()) { dlg.ShowDialog(); } }