JS Tables how to remove UI "show closest data on hover"

Hello,

image

I am not sure if this is a bug or intentional, but I am not able to remove the “Toggle show closest data on hover” UI menu option for Plotly’s JS tables. I tried using the option of ‘modeBarButtonsToRemove’ but that didn’t help either.

Plotly.newPlot(
    'plotlyDiv',
    data, 
    layout, 
    { responsive: true }, 
    { modeBarButtonsToRemove: ['hoverClosestCartesian'] });

Any suggestions?

Thanks.