Added support for popover placement and trigger attributes