allow adding custom class to shared popup
allow adding custom class to shared popup