Submit KPI data when the dialog closes either in the interaction_iframe OR in the internal_api.

@kparlante - this one is for you!

Only generate GUIDs for a KPI blob whenever needed:

* When the dialog is orphaned AND
* A staging event occurs without a confirmation event.