correctly terminate reseller from edit-modal