Better popup styling and data for instances
Factored out addKeyAndValueToPopUp