By default, when you exit a view state and transition to a new view state, you can go back to the previous state using the browser back button.
These view state history policies are configurable on a per-transition basis by using the history
attribute.
Set the history attribute to discard
to prevent backtracking to a view:
<transition on="cancel" to="bookingCancelled" history="discard">