Add buttons in the footer

Does anyone know how to insert buttons into custom CBI files as seen in the screenshot below.


AFAIK this get automatically inserted into most admin views by default but I need to be included in the custom view as well.

To give more context. Am trying to patch this issue: