When the destroy() method is used for kendoPivotConfiguratorV2 and kendoPivotConfiguratorButton an error is thrown.
An error: TypeError: Cannot read properties of null (reading 'removeData')
is thrown.
There should be no error, and the configurator and the kendoPivotConfiguratorButton should be successfully destroyed.