Add buttons in the footer

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

129936909-b9298d1d-cc61-4f01-908f-2c1d05fa92c2

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: