Reproduction steps
- create a page
- insert a link to a non existing page
- save the page
- click on the link
- click on cancel on the page creation modal
Expected
The modal is closed. The user stays on the current page.
Actual
The user is brought to the non-existing page in view mode.