Confirm on delete and data content type to json