x button doesn't force the page to refresh

For an event of cancellation, instead of reloading the entire page, I am accessing the page from the browser history.