Use mousedown instead of click for backdrop click detection; fixes #13816
Merge pull request #13855 from hnrch02/modal-mousedown

Use mousedown instead of click for backdrop click detection; fixes #13816