One of my user flows not working

Hi, one of my user flows doesn’t seem to be going the way I want it to and I am not sure why as I feel I have connected everything correctly. It’s from the sign up pop up page when I select the x, the order confirmation page at the end is the one where I signed up and that shouldn’t be the case. Also some of the prototypes aren’t working on that flow too on the food and drinks page. Any guidance/help/or feedback would be really appreciated as I get to grips with figma!