Allow to prevent default event actions by calling event.preventDefault() in scope file upload event listeners. Closes #2436