title: How to make modal close after validation using Vue js?
body: <p>I am using <code>&lt;q-modal&gt;</code>(Quasar Framework) for a form. On clicking <code>Add</code> button a form will pop over. In this, I am validating each form tags, after clicking submit button. To close the modal, I am using <code>@click="$refs.maximizedModal.close()"</code> for submit button. </p>
  
  <p>Everything works fine. Now I need to retain modal if the validation is not returning true or if validation satisfies then the modal need to be closed.</p>
  
  <p>Is there any method to do conditional submit in Vue js?</p>