allowing classes to be passed into popover