Support dynamic back button via cookie