Canceling Appointment on Front-end

When a client is viewing their appointments on the front-end via the [app_my_appointments] shortcode, they have an option to click a check box to cancel an appointment if they choose. When they click that check box a pop-up message opens asking them if they are sure they want to cancel. If the client clicks "OK" to confirm the cancel the pop-up box closes and the appointment is still listed. Not until the client manually refreshed the page does the canceled appointment disappear from the list.

Is there a way to either automatically refresh the page or redirect the client to another page after they click "OK" in the pop-up message?