use a flash message modal instead of the thanks state redirect