Added a confirm message when deleting events.