Index: /applications/editors/josm/plugins/graphview/build.xml
===================================================================
--- /applications/editors/josm/plugins/graphview/build.xml	(revision 17209)
+++ /applications/editors/josm/plugins/graphview/build.xml	(revision 17210)
@@ -57,5 +57,5 @@
                 <attribute name="Plugin-Description" value="Visualizes routing information as a routing graph."/>
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Graphview"/>
-                <attribute name="Plugin-Mainversion" value="1893"/>
+                <attribute name="Plugin-Mainversion" value="1986"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: /applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/GraphViewPlugin.java
===================================================================
--- /applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/GraphViewPlugin.java	(revision 17209)
+++ /applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/GraphViewPlugin.java	(revision 17210)
@@ -67,6 +67,4 @@
 	}
 
-	private final GraphViewDialog laneDialog;
-
 	private final GraphViewPreferences preferences;
 
@@ -79,6 +77,4 @@
 		preferences = GraphViewPreferences.getInstance();
 		this.preferences.addObserver(this);
-
-		laneDialog = new GraphViewDialog(this);
 
 	}
@@ -235,5 +231,9 @@
 	public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
 		if (newFrame != null) {
-			newFrame.addToggleDialog(laneDialog);
+			if (oldFrame == null) {
+				final GraphViewDialog laneDialog
+					= new GraphViewDialog(this);
+				newFrame.addToggleDialog(laneDialog);
+			}
 			Layer.listeners.add(this);
 		} else {
