add protocols to manage popover option selection.