[ActiveStorage] Direct upload cancel event

greetings all,
i’ve been using activestorage for a while now and i added the direct upload feature. however my forms are inside a modal and i want the user to be able to cancel the upload by dismissing the modal. wouldn’t allowing the direct upload js to receive a cancel event be helpful for UX since the user closes the modal the upload and the form submission should halt. or should at least stop the upload on form reset maybe? thoughts?