Prevent form actions from appearing in a modal dialog footer


I’m showing a view with exposed filters in a modal dialog. As form actions are placed in the footer by default, the exposed filter submit button appears in the footer. We want it to show the submit button (form actions) above the view content in alignment with the filter input elements.

Anyone know a nice approach to prevent a modal dialog from placing form actions in the modal dialog footer?


Drupal version: