prevent default action when clicking delete postmortem (so the page does not reload)