fix(popoverController): reset error state when popover is reopened