thanks at first that you already added a flag for switching the dismissal bahaviour. The problem I have now is that with the current solution only the mouseDown event is consumed. But I think it would be best to also consume the mouseUp event. So dismiss the box not until the mouse is released again.
Do you think this is possible to implement?