add ability to submit open incidents

The language now is open a new report then submit the report. Open
Incident View and Report View now show reports only if they have the
correct value (Open for the Open View, Submitted for the Report View)
fix deleteIncident function