CRM 365 on-prem: Use JavaScript to pass variables between different forms in the same entity

enter image description here

Process: User clicks a button from the parent entity “A”, and it passes the GUID and name of the current record to a new record in entity “B”.

The new record loads and triggers an OnLoad event. It retrieves the parameters that were passed from the parent. This works perfectly.

Now, I have requirement to have 2 versions of the form on entity “B”. The moment I switch from “Account Info” (that has all the populated values), “Account Info (ADMIN) 1.0” loads and nothing populates. If I refresh the browser, “Account Info (ADMIN) 1.0” loads and the data populates.

How do I retain the parameters, when switching between forms in the same entity?

I haven’t found a way to store the initial parameters, without saving the record. is this even possible?