function newSOD() {
    w2confirm('Are you sure you want to create a new SOD? All unsaved data will be lost.', function btn(answer) {
        if (answer == "Yes") {
            case_data = data_template
            w2ui.grd_timeline.clear()
            w2ui.grd_timeline.render()
            w2ui.grd_investigated_systems.clear()
            w2ui.grd_investigated_systems.render()
            w2ui.grd_malware.clear()
            w2ui.grd_malware.render()
            w2ui.grd_accounts.clear()
            w2ui.grd_accounts.render()
            w2ui.grd_network.clear()
            w2ui.grd_network.render()
            w2ui.grd_exfiltration.clear()
            w2ui.grd_exfiltration.render()
            w2ui.grd_osint.clear()
            w2ui.grd_osint.render()
            w2ui.grd_systems.clear()
            w2ui.grd_systems.render()
            w2ui.grd_actions.clear()
            w2ui.grd_actions.render()
            w2ui.grd_casenotes.clear()
            w2ui.grd_casenotes.render()
            w2ui.grd_investigators.clear()
            w2ui.grd_investigators.render()
            w2ui.grd_evidence.clear()
            w2ui.grd_evidence.render()

            currentfile = "";
            deactivateReadOnly()
            stopAutoUpdate()
            startAutoSave()
            lockstate = "&#128272; Case unlocked (edits allowed)"
            $("#lock").html(lockstate)
            lockedByMe = true

            w2ui.main_layout.content('main', w2ui.grd_timeline);
        }
    });
}
Clears all grids and creates a new case_data object from the template