work done to make the action taken when a user deletes treatment from the estimates page.