generalizing the confirmation page