title: Detect any input change jquery
body: <p>I have a form with multiple fields, and some jquery Modal Dialogs (popups).</p>
  
  <p>I need to close all open popups if one of the fields' values has changed by the user.</p>
  
  <p>I tried that but it doesn't seems to be working (the <code>change</code> event doesn't trigger, I don't get the "test" in the console):</p>
  
  <pre><code>   $("input[type='text']").change(function () {
         console.log("test");
         $(".ui-dialog-content").dialog("close");
      });
  </code></pre>
  
  <p>Any idea how to solve that?</p>