title: Create modal when table row was clicked
body: <p>How am I going to create to a modal where the user could edit the content from the selected row inside a table? Can someone please teach me on how to do this? I kinda new in web development and I just need to do this as a requirement. Thanks! </p>
  
  <p>Here's my code (HTML): </p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-xs-12 col-md-12"&gt;
          &lt;table class="table table-condensed table-hover table-bordered"&gt;
              &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;Firstname&lt;/th&gt;
                  &lt;th&gt;Lastname&lt;/th&gt;
              &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody&gt;
              &lt;tr&gt;
                  &lt;td&gt;John&lt;/td&gt;
                  &lt;td&gt;Doe&lt;/td&gt;
  
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;Sam&lt;/td&gt;
                  &lt;td&gt;Smith&lt;/td&gt;
              &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>