public void onClick(MenuItemClickEvent event) {
final FeatureTransaction ft = mapWidget.getMapModel().getFeatureEditor().getFeatureTransaction();
if (ft != null && index != null) {
List<Feature> features = new ArrayList<Feature>();
features.add(ft.getNewFeatures()[index.getFeatureIndex()]);
LazyLoader.lazyLoad(features, GeomajasConstant.FEATURE_INCLUDE_GEOMETRY, new LazyLoadCallback() {
public void execute(List<Feature> response) {
controller.setEditMode(EditMode.INSERT_MODE);
Geometry geometry = response.get(0).getGeometry();
if (geometry instanceof Polygon) {