It would be helpful if a hook could be fired when the download dialog is shown. This can then be used to append functionality.
Such a thing can be done now with a mutation observer, but it's a bit ugly.
For example, adjusting the links for development purposes.