private void ShowManageDialog() { using (ManageDialog dialog = new ManageDialog(this)) { dialog.ShowDialog(pluginHost.MainWindow); } }