add toggle for delete button