title: How to trigger modal when input type is submit
body: <p>I want to trigger modal when input type is submit,<br>
  when I complete my require , need to submit data then launch the modal sample<br>(which is using ajax to update zone) <br>
  but I tried to add data-toggle on input type,<br>after adding it, the form seems like it can't be post to Controller , <br>does anybody have any solution on it?</p>
  
  <pre><code>&lt;input type="submit" value="Ok" /&gt;
   &lt;button type="button" class="btn btn-primary" data-toggle="modal" data- 
  target="#exampleModalCenter"&gt;
      launch modal
      &lt;/button&gt;
  
      &lt;!-- Modal --&gt;
      &lt;div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"&gt;
          &lt;div class="modal-dialog modal-dialog-centered" role="document"&gt;
              &lt;div class="modal-content"&gt;
                  &lt;div class="modal-header"&gt;
                      &lt;h5 class="modal-title" id="exampleModalLongTitle"&gt;Your Content&lt;/h5&gt;
                      &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;
                          &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
                      &lt;/button&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-body" id="PlanCompleteZone"&gt;
                      @Html.Action("PlanComplete")
                  &lt;/div&gt;
                  &lt;div class="modal-footer"&gt;
                      &lt;button type="button" class="btn btn-secondary" data-dismiss="modal"&gt;Close&lt;/button&gt;
                      &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- Modal --&gt;
  </code></pre>