How do I make a redirection when clicking "ok" after making an appointment?

I know it will be erased with an update, but is it possible to modify appoitments.php to redirect to an other page when the user click on "ok" after making an appointment ?
Thanks