title: CakePHP 3 refresh page after form submit
body: <p>I have created a website using cakePHP 3.I have created a mail form in the contact section using the form helper and the mail sender. The mail is working OK, but when I click the send (submit) button, it reloads the contact page and keep de input fields filled.</p>
  
  <p>What I want is to not refresh the page, clear the form fields and show a modal. ¿Is this possible? ¿How can I do it?</p>
  
  <p>I don't know if you guys need any code, so if you need it I will provide it.</p>
  
  <p>Thanks.</p>