fixes #5773 - redirect to referrer URL that includes page and search

Using session storage introduces a huge issue here, now this is on multiple pages.  If you open up two forms (one subnet, then one domain), save the subnet, the subnet tab gets redirected to the domains page.  Is it possible to store the referrer in the form instead?