componentWillUnmount() {
    this.setState({
      isVisible: false
    })
  }
/**
   * Hides the modal on component unmount
   *
   * @return void
   */
Hides the modal on component unmount
@return void
Hides the modal on component unmount @return void
componentWillUnmount() {
    this.setState({
      isVisible: false
    })
  }
componentWillUnmount ( ) { this . setState ( { isVisible : false } ) }
Hides the modal on component unmount
 @return void
Hides the modal on component unmount @return void