add input and button to popover