Guild Ball module - reference cards

I’m updating someone else’s module for guild ball (the person who was doing it is no longer active), and I’ve run into a problem with reference cards. The cards for the models can be opened up in a window for quick reference, however with the stuff I’ve added it shows a different model (same one for all), which is the last one from the previous iteration of the module. Any ideas?