Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 25470)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 25473)
@@ -30,7 +30,7 @@
 import static org.openstreetmap.josm.tools.I18n.tr;
 
-
 import javax.swing.ImageIcon;
 import javax.swing.JOptionPane;
+import javax.swing.SwingUtilities;
 
 import org.openstreetmap.josm.Main;
@@ -161,4 +161,15 @@
 
     public void updateData() {
+        // disable the dialog
+        try {
+            SwingUtilities.invokeAndWait(new Runnable() {
+                public void run() {
+                    dialog.setEnabled(false);
+                }
+            });
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        
         // store the current selected node
         Node selectedNode = getDialog().getSelectedNode();
@@ -173,4 +184,5 @@
             return;
         }
+        
 
         // download data for the new bounds, if the plugin is not in offline mode
@@ -201,6 +213,18 @@
         }
 
+        
         // restore node selection
         dialog.setSelectedNode(selectedNode);
+        
+        // enable the dialog
+        try {
+            SwingUtilities.invokeAndWait(new Runnable() {
+                public void run() {
+                    dialog.setEnabled(true);
+                }
+            });
+        } catch (Exception e) {
+            e.printStackTrace();
+        } 
     }
 
