ddd.setVisible(true);
if (current != null) {
if (ddd.getDlgResult() == ModalDialog.DLG_OK) {
Selector s = ddd.getSelectedItems();
for (int i = 0; i < s.size(); i++) {
DangerServiceDetails details = new DangerServiceDetails();
DirectoryServiceItem dsi = (DirectoryServiceItem) s.get(i);
details.dangerId = current.getID();
details.serviceId = dsi.getID();
details.description = "";
details.specialityID = 0;