# Confirm Hotel Booking

# Back button navigation

When you click "Confirm", the new booking is written to the database, the conversation ends, and state associated with the conversation is automatically destroyed by Seam. After you confirm your booking, try hitting the back button on your web browser and clicking "Confirm" again. Seam makes it easy implement applications that behave elegantly in response to the back, forward and refresh buttons.

What happens when the conversation ends?