What is this line doing? Toggling whether the popover should be displayed?