implemented delete confirmation modal