title: Open modal window after submitted and returned to page
body: <p>I have function validate my form and after form submitted </p>
  
  <pre><code>else
              {
                  $('.submit-button').val('Wait please...');
                  $('.submit-button').attr('disabled', 'disabled');
                  return true;
              }     
  </code></pre>
  
  <p>PHP redirect to main page</p>
  
  <pre><code>function wpcallback_get_target() {
      global $wpcallback_plugin_option;
  
      if($value = $callback_plugin_option['target'])
          return get_permalink($value);
  
      return get_site_url();
  }
  </code></pre>
  
  <p>PHP get site url then how I can make thanks modal window opened?
  I tried with .modal but can't find right place for it.</p>
  
  <pre><code>$('#myModal').modal('show');
  </code></pre>