title: How does the Form.Modal property changes when using button in a form?
body: <p>I'm using 2 forms in an application in which, clicking button in form1 opens form2.  While opening form2, the <code>Modal</code> property of form2 is FALSE. But, once on clicking the button in form2, the value of this property is set to TRUE. I have used the below code in the application.</p>
  
  <p><strong>Form1</strong></p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
  Form2 f2 = new Form2();
  bool isModal = f2.Modal;
  f2.ShowDialog();
  }
  </code></pre>
  
  <p><strong>Form2</strong></p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
  bool isModal = this.Modal;
  }
  </code></pre>
  
  <p>Kindly share your ideas on how this is updated?</p>
  
  <p>Thanks,</p>
  
  <p>Sindhu</p>