Index: trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java	(revision 7425)
+++ trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java	(revision 7426)
@@ -53,4 +53,8 @@
     }
 
+    /**
+     * Replies the unique instance of this dialog
+     * @return the unique instance
+     */
     public static ImageViewerDialog getInstance() {
         if (dialog == null)
@@ -66,9 +70,4 @@
         super(tr("Geotagged Images"), "geoimage", tr("Display geotagged images"), Shortcut.registerShortcut("tools:geotagged",
         tr("Tool: {0}", tr("Display geotagged images")), KeyEvent.VK_Y, Shortcut.DIRECT), 200);
-
-        // Don't show a detached dialog right from the start.
-        if (isShowing && !isDocked) {
-            setIsShowing(false);
-        }
 
         JPanel content = new JPanel();
@@ -290,15 +289,4 @@
 
     /**
-     * When pressing the Toggle button always show the docked dialog.
-     */
-    @Override
-    protected void toggleButtonHook() {
-        if (! isShowing) {
-            setIsDocked(true);
-            setIsCollapsed(false);
-        }
-    }
-
-    /**
      * When an image is closed, really close it and do not pop
      * up the side dialog.
