final DestinationConfigTreeNode destinationNode = (DestinationConfigTreeNode) browserTree.getSelectionPath().getLastPathComponent();
final HermesTreeNode hermesNode = (HermesTreeNode) destinationNode.getHermesTreeNode();
final QueueSearchDialog dialog = new QueueSearchDialog(HermesBrowser.getBrowser(), hermesNode.getHermes(), (DestinationConfig) destinationNode.getBean(), searchUserHeader);
dialog.setLocationRelativeTo(null);
dialog.show();
} else if (browserTree.getSelectionPath().getLastPathComponent() instanceof HermesTreeNode) {
final HermesTreeNode hermesNode = (HermesTreeNode) browserTree.getSelectionPath().getLastPathComponent();
final QueueSearchDialog dialog = new QueueSearchDialog(HermesBrowser.getBrowser(), hermesNode.getHermes());