Change the input below and try to change the page.

If you press No the route change will be prevented and the page loader will not appear.
If you press Yes the route will change and the loader will appear until the next route is fully loaded.

{{myForm}}

By clicking the Save button the form will be submitted and you can exit the page without any alert.