Index: /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java
===================================================================
--- /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java	(revision 28812)
+++ /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java	(revision 28813)
@@ -3,6 +3,8 @@
 import static org.openstreetmap.josm.tools.I18n.tr;
 import java.awt.event.ActionEvent;
+import java.util.Collections;
 import javax.swing.AbstractAction;
 import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.command.Command;
 import org.openstreetmap.josm.command.DeleteCommand;
 import org.openstreetmap.josm.data.osm.Relation;
@@ -25,5 +27,7 @@
         Relation r = rel.get();
         rel.clear();
-        Main.main.undoRedo.add(new DeleteCommand(r));
+        Command c = DeleteCommand.delete(Main.main.getEditLayer(), Collections.singleton(r), true, true);
+        if( c != null )
+            Main.main.undoRedo.add(c);
     }
 
Index: /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructPolygonAction.java
===================================================================
--- /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructPolygonAction.java	(revision 28812)
+++ /applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructPolygonAction.java	(revision 28813)
@@ -64,5 +64,8 @@
 	List<Way> newSelection = new ArrayList<Way>();
 	List<Command> commands = new ArrayList<Command>();
-	commands.add(new DeleteCommand(r));
+        Command c = DeleteCommand.delete(Main.main.getEditLayer(), Collections.singleton(r), true, true);
+        if( c == null )
+            return;
+	commands.add(c);
 	
 	for( JoinedPolygon p : mpc.outerWays ) {
