improved styling support for popups