Use `replaceWith` in order to not break the back button.