title: Can´t validate reCaptcha v2 in modal
body: <p>Actually, I have a project who requires a form in a boostrap modal. This modals have a name, email, msg inputs and google recaptcha. </p>
  
  <p>I want that when the required inputs are filled and the captcha is not checked, show an error modal, and when the required inputs and the recaptcha are filled show the correct message modal.</p>
  
  <pre><code>$("#enviar").click(function() {
              if ($("#nombre").val() &amp;&amp; $("#mail").val() &amp;&amp; $("#mensaje").val() &amp;&amp; (grecaptcha.getResponse() != '') {
                  window.setTimeout(function(){
                      return true;
                      $('#modal2').modal('show');
                  }, 1500);
              } else {
  
                  window.setTimeout(function(){
                      return false;
                      $('#modal1').modal('show');
                  }, 1500); 
  
              }
          });
  </code></pre>
  
  <p>Any idea?</p>