public void multislicer_gui() { if (singletondialog == null) { singletondialog = new maindialog(basepath, ACM.main.getServices(), clearSingletonDialog); Application.ShowModelessDialog(singletondialog); } else { singletondialog.Activate(); } }