Check if mounted before updating state.

If a user component renders a SelectBox conditionally based on state, and the user onChange event of SelectBox affects state, then the local handleClose method may fire after the SelectBox is unMounted.