title: How to show modal popup after submitting form using reactjs?
body: <p>I'm new to reactjs, i have created a form and wantedto display modal after submitting the form saying "Successfully Submitted". But i don't know how to give popup after submitting the form.</p>
  
  <pre><code> &lt;Form onSubmit={this.handleSubmit}&gt;
            &lt;Form.Input
              transparent
              label="First Name"
              type="text"
              name="firstName"
              className="box"
              value={this.state.firstName}
              onChange={this.changeHandler}
            /&gt;
            &lt;Form.Input
              transparent
              label="Last Name"
              type="text"
              name="lastName"
              className="box"
              value={this.state.lastName}
              onChange={this.changeHandler}
            /&gt;
            &lt;Form.Input
              transparent
              label="Email"
              type="text"
              name="email"
              className="box"
              value={this.state.email}
              onChange={this.changeHandler}
            /&gt;
            &lt;Button&gt;Submit&lt;/Button&gt;
          &lt;/Form&gt;
  
  </code></pre>
  
  <p><a href="https://codesandbox.io/s/elated-silence-fgq2j" rel="nofollow noreferrer">Here is the code </a></p>
  
  <p>I want to pass message variable to modal inorder to display message if the form submitted successfully.</p>
  
  <p>Can anyone help me in this query?</p>