Breadcrumb 500 error on custom dialogs - undefined method

I’ve inherited an instance of ManageIQ and during user testing have found an issue that I don’t know how to resolve. We have custom dialogs to modify things like VM data disks and networks and these work as intended, however the breadcrumb links shown at the top of these dialogs generate an error if selected.
Here’s what the breadcrumbs look like before selecting a button:

Here’s what users see after selecting a button:

This dialog works as expected if the user proceeds, or if they select the “VMs and Instances” breadcrumb it takes them back to the list of VMs as expected, however if they select the “Modify Disks” breadcrumb it generates an error message:

Server Error ($http)
URL /vm_or_template/report_data
Status 500
Content-Type text/html; charset=utf-8
Data undefined method ‘all_vms_and_templates’ for
#<Dialog:0x0000564723bc73f0>[vm_or_template/explorer]

The manageIQ version is Jansa-1263 running on Kubernetes infrastructure.