Fixes #11438: Make OnFileManagerBeforeUpload event selectable
Make OnFileManagerBeforeUpload event selectable

* origin/pr/11441:
  Fixes #11438: Make OnFileManagerBeforeUpload event selectable