Initial structure
half-working version with popover
small change
Working (but ugly) for popover and modal