adding popover to layout