Made the delete modal generic