title: Framework7 click button from a popup to open another popup not working
body: <p>I have  a popup and inside the popup there is a button. I am using <code>Framework7</code> for my page. My code as follows:</p>
  
  <pre><code>&lt;div class="loginform"&gt;
                    &lt;span id="pswd_success_span" style="color :#7cbe55;font-weight:700;"&gt;&lt;/span&gt;
                    &lt;p&gt;&lt;a href="#" data-popup=".popup-login" class="button first_page"&gt;Go to Login&lt;/a&gt;&lt;/p&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>I am trying to open another popup in clik function of the <strong>Go to Login</strong> button as follows:</p>
  
  <pre><code>$(document).ready(function () {
  /Redirect popup to login popup
      var myApp = new Framework7();
      var $$ = Dom7;
  
      $$('.first_page').on('click', function(){
                  alert("test");
                  myApp.popup('.popup-login');
           });
  });
  </code></pre>
  
  <p>Where popup login is another popup div just like above div</p>
  
  <pre><code>&lt;div class="loginform"&gt;
      &lt;--login popup--&gt;               
  &lt;/div&gt;
  </code></pre>
  
  <p>When I click button I am getting the alert test but not opening the login div. Checked console there are no errors. please help me.</p>