Checked version: 4.0.24
The button on top (line 141):
<button type="button" class="btn btn-success" onclick="Joomla.submitbutton('download.cancel')">
The button on bottom (line 677):
<button type="button" class="btn" onclick="Joomla.submitbutton('download.cancel')">
How about refactoring the button code into a local function which could be called from both locations?
Best regards
Michael
Fixed in 4.0.25.
It is not planned to change currently here something.