title: jQuery: Button add and remove closest
body: <p>I have a HTML as follows:</p>
  
  <pre><code>&lt;div class="parent-wrapper"&gt;
      &lt;div class="test-guided-search-row"&gt;
          &lt;select class="form-control test-guided-search-row-select-bool-query"&gt;
              &lt;option&gt;AND&lt;/option&gt;
          &lt;/select&gt;
  
          &lt;select class="form-control test-guided-search-row-select-query-path"&gt;
              &lt;option&gt;ALL&lt;/option&gt;
          &lt;/select&gt;
  
          &lt;select class="form-control test-guided-search-row-query-type"&gt;
              &lt;option&gt;abcd&lt;/option&gt;
              &lt;option&gt;efg&lt;/option&gt;
          &lt;/select&gt;
  
          &lt;input class="form-control" type="text"&gt;
  
          &lt;button class="btn btn-primary btn-sm" type="button" data-button-action="addRow"&gt;+&lt;/button&gt;
          &lt;button class="btn btn-primary btn-sm" type="button" data-button-action="deleteRow"&gt;-&lt;/button&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I make it so that the button + will add the entire row <code>div</code> next to the div in which the button that was clicked? I am having trouble with this because there are multiple of these row divs and I want to be able to add row next to this div row and remove only that row.</p>