Index: /applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelation.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelation.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/ChosenRelation.java	(revision 25711)
@@ -19,5 +19,5 @@
  */
 public class ChosenRelation implements EditLayerChangeListener, MapViewPaintable, DataSetListener {
-    private Relation chosenRelation = null;
+    protected Relation chosenRelation = null;
     private Set<ChosenRelationListener> chosenRelationListeners = new HashSet<ChosenRelationListener>();
 
@@ -73,5 +73,5 @@
     }
 
-    private void analyse() {
+    protected void analyse() {
         // todo
     }
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/RelContextDialog.java	(revision 25711)
@@ -1,4 +1,5 @@
 package relcontext;
 
+import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher;
 import org.openstreetmap.josm.command.SequenceCommand;
 import org.openstreetmap.josm.command.Command;
@@ -74,5 +75,5 @@
         MapView.addEditLayerChangeListener(chosenRelation);
 
-        popupMenu = new ChosenRelationPopupMenu();
+        popupMenu = new ChosenRelationPopupMenu(chosenRelation);
         multiPopupMenu = new MultipolygonSettingsPopup();
 
@@ -178,4 +179,17 @@
         relationsTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         relationsTable.setTableHeader(null);
+        relationsTable.addMouseListener(new PopupMenuLauncher() {
+            @Override
+            public void launch(MouseEvent evt) {
+                Point p = evt.getPoint();
+                int row = relationsTable.rowAtPoint(p);
+                if (row > -1) {
+                    Relation relation = (Relation)relationsData.getValueAt(row, 0);
+                    JPopupMenu menu = new ChosenRelationPopupMenu(new StaticChosenRelation(relation));
+                    menu.show(relationsTable, p.x, p.y-5);
+                }
+            }
+        });
+
         TableColumnModel columns = relationsTable.getColumnModel();
         columns.getColumn(0).setCellRenderer(new OsmPrimitivRenderer() {
@@ -293,4 +307,7 @@
             relationsData.addRow(new Object[] {rel, role == null ? "" : role});
         }
+        for( OsmPrimitive element : newSelection )
+            if( element instanceof Relation && (chosenRelation.get() == null || !chosenRelation.get().equals(element) ) )
+                relationsData.addRow(new Object[] {element, ""});
     }
 
@@ -406,5 +423,5 @@
 
     private class ChosenRelationPopupMenu extends JPopupMenu {
-        public ChosenRelationPopupMenu() {
+        public ChosenRelationPopupMenu( ChosenRelation chosenRelation ) {
             add(new SelectMembersAction(chosenRelation));
             add(new SelectRelationAction(chosenRelation));
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/StaticChosenRelation.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/StaticChosenRelation.java	(revision 25711)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/StaticChosenRelation.java	(revision 25711)
@@ -0,0 +1,21 @@
+package relcontext;
+
+import org.openstreetmap.josm.data.osm.Relation;
+
+/**
+ * A chosen relation that is only a container for one relation and does not listen to anything.
+ *
+ * @author Zverik
+ */
+public class StaticChosenRelation extends ChosenRelation {
+
+    public StaticChosenRelation( Relation rel ) {
+        chosenRelation = rel;
+        analyse();
+    }
+
+    @Override
+    public void set( Relation rel ) {
+        throw new UnsupportedOperationException("Changing static relation is not supported.");
+    }
+}
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/DeleteChosenRelationAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/DeleteChosenRelationAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/DeleteChosenRelationAction.java	(revision 25711)
@@ -19,5 +19,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null);
     }
 
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/DownloadParentsAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/DownloadParentsAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/DownloadParentsAction.java	(revision 25711)
@@ -34,5 +34,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null && Main.map.mapView.getEditLayer() != null);
     }
 
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/EditChosenRelationAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/EditChosenRelationAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/EditChosenRelationAction.java	(revision 25711)
@@ -26,5 +26,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null);
     }
 
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/RelationHelpAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/RelationHelpAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/RelationHelpAction.java	(revision 25711)
@@ -27,5 +27,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null);
     }
 
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectInRelationPanelAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectInRelationPanelAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectInRelationPanelAction.java	(revision 25711)
@@ -20,5 +20,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null);
     }
 
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectMembersAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectMembersAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectMembersAction.java	(revision 25711)
@@ -18,5 +18,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null);
     }
 
Index: /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectRelationAction.java
===================================================================
--- /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectRelationAction.java	(revision 25710)
+++ /applications/editors/josm/plugins/relcontext/src/relcontext/actions/SelectRelationAction.java	(revision 25711)
@@ -19,5 +19,5 @@
         this.rel = rel;
         rel.addChosenRelationListener(this);
-        setEnabled(false);
+        setEnabled(rel.get() != null);
     }
 
