Remove "unload" event?

That would be great! There's also the "browserUnload" event (and I see it is part of the Form as well) that can be used for the same sorts of things without triggering this particular Lighthouse issue.