Thank You page is not shown correctly when submitting Form