Fixed a duplicate entity issue with modal button.
Between Delete Task and Delete Event modals.