I have a function in the Quote page that overrides generatePrintForm() from PrintReportUtilities (to automatically save the record prior to printing). The overridden function only fires under certain circumstances; I've used console logging to confirm that it isn't called at all in others. As best I can tell, this matches up to the difference between this mode (green button), when the record is opened from a link in another record or the page is refreshed after being opened from the section list:

And this mode (blue button), when the record is opened directly from the section list and not refreshed:

In the first mode, the function is called properly upon attempting to print; in the second, it isn't called at all. What exactly is the difference between these two modes, and is there a way to tell from the backend? (Or alternately, any way to ensure the record is always opened in the first mode?)