Can we implement select box function in modebar of bar chart?

I want to use select box function in modebar of bar chart

Select box and lasso selection are only available for scatter marker and text points only.

@etienne Why is that the case? I would really like to have the Box Select tool available in my scatter line plots.

It appears that setting dragmode: 'select' for line plots already works - we just don’t get a button for it so we can never switch back to box select if we, for example, select zoom.