Allowed closing of provider component.