title: Knockout JS - Geting a modal popup to edit items
body: <p>Im new to knockoutJS and really loving it. I'm trying to build something very similar to this <a href="http://jsfiddle.net/mac2000/N2zNk/light/" rel="nofollow">http://jsfiddle.net/mac2000/N2zNk/light/</a>. I tried copying the code and adapting it to my need. The problem with that is that I get my data from the server using $.getJSON it seems that the jsfiddle example was made for a different format of data which just confuses me. </p>
  
  <p>So instead of asking for help to find the issue with my code I rather take a different approach. Hopefully you guys wont mind. Im starting from scratch and trying to learn each steps so I know what im doing. </p>
  
  <p>Here is my code so far, this works great to simply display my data on my table.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
       function EmployeeModal() {
           var self = this;
           self.Employees = ko.observableArray([]);
           $.getJSON("../../../../_vti_bin/listData.svc/GDI_PROD_Incidents?$filter=ÉtatValue%20ne%20%27Fermé%27&amp;$orderby=PrioritéValue desc",
               function (data) {
                   if (data.d.results) {
                       self.Employees(ko.toJS(data.d.results));
                   }
               }
         );
       }
       $(document).ready(function () {
           ko.applyBindings(new EmployeeModal());
       });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>I made a template where each row has an edit button similar to the example but no fucntion of binding are done yet. Now what I would like to do is simply onlick pass the selected data to my modal and show my modal like so:</p>
  
  <pre><code>$('#myModal').modal('show'); 
  </code></pre>
  
  <p>This is the step im struggling the most with. Would any have any clear documentations for a noob or example, hints or any type of help I would take to get me in the right direction from here.</p>