// FeaturePanelProcessor panels = ProjectUIPlugin.getDefault()
// .getFeaturePanelProcessor();
// List<FeaturePanelEntry> popup = panels.search(schema);
// if (popup.isEmpty()) {
CreateAndSelectNewFeature newFeatureCommand = new CreateAndSelectNewFeature(
handler.getCurrentGeom(), feature, layer, deselectCreatedFeatures);
commands.add(newFeatureCommand);
// } else {
// CreateDialogAndSelectNewFeature newFeatureCommand = new
// CreateDialogAndSelectNewFeature(