After submitting the form, thank you page is not displayed