How can I remove plotly select box after the selection is done

See this discussion: Unselect points when click empty area - #3 by maab