}
// open dialog
SelectEntryDialog dialog = new SelectEntryDialog( parent.getShell(), Messages
.getString( "EntryWidget.SelectDN" ), rootEntry, entry ); //$NON-NLS-1$
dialog.open();
IEntry selectedEntry = dialog.getSelectedEntry();
// get selected DN
if ( selectedEntry != null )
{