ddd.setVisible(true);
if (serviceItem != null) {
if (ddd.getDlgResult() == ModalDialog.DLG_OK) {
Selector s = ddd.getSelectedItems();
for (int i = 0; i < s.size(); i++) {
ServiceToServiceDetails details = new ServiceToServiceDetails(serviceItem.getID());
DirectoryServiceItem dsi = (DirectoryServiceItem) s.get(i);
details.pserviceId = serviceItem.getID();
details.cserviceId = dsi.getID();
details.description = "";
details.obligatory = false;