adds delete button in ajax