Cancel button uses JS history:back() to go back to the previous browser history page