public UnlinkWorkPackageDialog(Logic logic, WorkPackage wp) {
super(logic, false);
initComponents();
this.wp = wp;
SimpleSelectDependencyModel ssdm = new SimpleSelectDependencyModel(wp);
tblWorkPackages.setModel(ssdm);
tblWorkPackages.setRowSorter(ssdm.getRowSorter());
getRootPane().registerKeyboardAction(ProgressUtils.getDisposeListener(this), ProgressUtils.escStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
getRootPane().registerKeyboardAction(ProgressUtils.getSaveListener(this), ProgressUtils.submitStroke, JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
GuiUtils.centerOnScreen(this);
}