title: How to Hide Modal Box After User Login
body: <p>When user click log in button on my navigation a modal box pop up after user log in the modal box does not disappear.</p>
  
  <p>How can i hide remove the modal box when users click log in</p>
  
  <p>Home.vue</p>
  
  <pre><code>    &lt;div id="myModal1" class="modal  centered-modal" role="dialog"&gt;
        &lt;div class="modal-dialog login_dialog"&gt;
          &lt;div class="modal-content"&gt;
            &lt;button type="button" class="close" data-dismiss="modal"&gt;
              &lt;i class="fa_icon form_close"&gt;&lt;/i&gt;
            &lt;/button&gt;
            &lt;div class="modal-body"&gt;
              &lt;div class="ms_register_img"&gt;
                &lt;img src="images/register_img.png" alt="" class="img-fluid" /&gt;
              &lt;/div&gt;
              &lt;div class="ms_register_form"&gt;
                &lt;h2&gt;Log In&lt;/h2&gt;
                &lt;form @submit.prevent="submit"&gt;
                  &lt;div class="form-group"&gt;
                    &lt;input type="email" placeholder="Enter Your Email" class="form-control" v-model="form.email"&gt;
                    &lt;span class="form_icon"&gt;
                    &lt;i class="fa_icon form-envelope" aria-hidden="true"&gt;&lt;/i&gt;
                    &lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group"&gt;
                    &lt;input type="password" placeholder="Enter Your Password" class="form-control" v-model="form.password"&gt;
                    &lt;span class="form_icon"&gt;
                    &lt;i class="fa_icon form-lock" aria-hidden="true"&gt;&lt;/i&gt;
                    &lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group"&gt;
                    &lt;button class="reg_ms_btn" type="submit"&gt;Log In&lt;/button&gt;
                  &lt;/div&gt;
                &lt;/form&gt;   
                &lt;div class="remember_checkbox"&gt;
                  &lt;label&gt;Keep me signed in
                    &lt;input type="checkbox"&gt;
                    &lt;span class="checkmark"&gt;&lt;/span&gt;
                  &lt;/label&gt;
                &lt;/div&gt;
  
                &lt;div class="popup_forgot"&gt;
                  &lt;a href="#"&gt;Forgot Password ?&lt;/a&gt;
                &lt;/div&gt;
                &lt;p&gt;Don't Have An Account? &lt;a href="#myModal" data-toggle="modal" class="ms_modal1 hideCurrentModel"&gt;register here&lt;/a&gt;&lt;/p&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>