Modal dialog closes when dragging and releasing mouse button outside dialog
Created by: tdesmet
When clicking and holding the left mouse button inside a modal dialog and then dragging the mouse outside the dialog and releasing the mouse button results in the modal dialog closing.
I have a use case where you can crop an image inside a dialog and when the users drags his mouse to far and releases the mouse button the dialog closes, causing the user to restart the process.
I know I can make the backdrop static so it doesn't close when clicking on it, but this would be a last resort.
I think that the backdrop should only close if the mousedown event happened on the backdrop and not on the dialog.