title: React with Antd Component Modal Form with state issue
body: <p>I can't figure out what is the right way to handle this -> I am beginner in React , so if this looks absurd, maybe I got this wrong.</p>
  
  <p>I have a React component - which is a table/list with a list of Tasks</p>
  
  <pre><code>
    showModal = () =&gt; {
      this.setState({
        visible: true,
      });
    };
  .
  render() {
  return ( 
  &lt;Table /&gt;
  
          &lt;Button type="primary" onClick={this.showModal}&gt;
            Add New Task
          &lt;/Button&gt;
  &lt;CRTaskForm
          visible={this.state.visible} /&gt;
  </code></pre>
  
  <p>I have another React component CRTaskForm - which is basically a Modal Form to add Tasks </p>
  
  <p>Now, my issue is 
  1. I want to handle the onSubmit in CRTaskForm - and close the form when the Task is created - there is a separate handler in CRTaskForm onSubmit(e) { .. } which handles sending the create task via REST to the server.</p>
  
  <p>How do I close the Modal form in the onSubmit .. the "visible" props is not present in the CRTaskForm.</p>