set up popover for setting pain and flow