title: Add click event to dynamically added button to kendo window content
body: <p>I have kendo window and im adding content dynamically to kendo window.
  The content has a button and i wanted to attach click event to that button.
  jQuery is able to find the button from the content, attach click event however click event never gets fired</p>
  
  <p><a href="https://jsfiddle.net/pmj09ok0/7/" rel="nofollow noreferrer">JSFiddle</a></p>
  
  <p><strong>Html</strong></p>
  
  <pre><code>&lt;div id="example"&gt;
    &lt;div id="window"&gt;     
     &lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>JQuery</strong></p>
  
  <pre><code>          $(document).ready(function() {                 
                      // in reality this contnet will be returned from ajax call
                      var dynamicContent  ="&lt;div&gt;&lt;button id='btn' type='button'&gt;Click Me&lt;/button&gt;&lt;/div&gt;"
                      var myWindow = $("#window")
                      var button = $(dynamicContent).find("#btn");
  
                      // show number of buttons found.                    
                      alert("found " + button.length + " button")
  
                      // attach click event to button
                                          button.click(function(){
                        alert("this is test");                      
                      })
  
                      myWindow.kendoWindow({
                          width: "600px",
                          height:"200px",
                          title: "My Window"
                      }).data("kendoWindow").center().open().content(dynamicContent);
                  });
  </code></pre>