Tweak when the popup styles are being called