JAL-1162 catch security exception and just use bare modelFileName string for applet
[jalview.git] / src / jalview / gui / JalviewDialog.java
index 833af15..8a6058f 100644 (file)
@@ -66,7 +66,7 @@ public abstract class JalviewDialog extends JPanel
           boolean modal, boolean block, String title, int width, int height)
   {
     
-    frame = new JDialog(Desktop.instance, true);
+    frame = new JDialog(Desktop.instance, modal);
     frame.setTitle(title);
     if (Desktop.instance!=null)
     {