Index: trunk/src/scriptbuilder/gui/IncidentPaletteFrame.java
===================================================================
--- trunk/src/scriptbuilder/gui/IncidentPaletteFrame.java	(revision 137)
+++ trunk/src/scriptbuilder/gui/IncidentPaletteFrame.java	(revision 189)
@@ -455,28 +455,31 @@
     private void btnCreateIncidentActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btnCreateIncidentActionPerformed
     {//GEN-HEADEREND:event_btnCreateIncidentActionPerformed
-        int newLogNum = 100;
-        boolean found = false;
-        while (!found)
-        {
-            newLogNum++;
-            if (!scriptContainsLogNum(script, newLogNum))
-            {
-                found = true;
-                for (ScriptIncident incident : incidentList)
-                {
-                    if (incident.number == newLogNum)
-                    {
-                        found = false;
-                    }
-                }
-            }
-        }
-
-        ScriptIncident newInc = new ScriptIncident(newLogNum, "New Incident", LocalDate.now().toString(), script);
-        if (script.addIncident(newInc))
-        {
-            new IncidentEditorFrame(newInc, parent).setVisible(true);
-            this.dispose();
-        }
+       parent.openIncidentCreateWindow();
+       this.dispose();
+//        int newLogNum = 100;
+//        boolean found = false;
+//        while (!found)
+//        {
+//            newLogNum++;
+//            if (!scriptContainsLogNum(script, newLogNum))
+//            {
+//                found = true;
+//                for (ScriptIncident incident : incidentList)
+//                {
+//                    if (incident.number == newLogNum)
+//                    {
+//                        found = false;
+//                    }
+//                }
+//            }
+//        }
+//        parent.
+//
+//        ScriptIncident newInc = new ScriptIncident(newLogNum, "New Incident", LocalDate.now().toString(), script);
+//        if (script.addIncident(newInc))
+//        {
+//            new IncidentEditorFrame(newInc, parent).setVisible(true);
+//            this.dispose();
+//        }
 
     }//GEN-LAST:event_btnCreateIncidentActionPerformed
