add safety check that state.popover is defined before updating visible popover
add safety check that state.popover is defined before updating visible popover

buildo/react-components,buildo/react-components,buildo/react-components,buildo/react-components