How to solve it without page re-loading?

Hello, I got a problem like this…
Designer can add the priorities to database and then select few of them and add to the survey (one priority can be added to many surveys)

The client can select the priorities from the list and in next step can set a hierarchy.

At this moment I solved it like this, but every click makes a page loading and the UX hurts because of it.

Can I solve it in different way? Thanks for the help

Zrzut ekranu 2024-02-29 o 11.45.37







c

I am not sure I understand your use case but I think that page loading because of creating new things or making changes to things directly in the data base in every step. Instead you may use custom stats to store user’s inputs while he fill the form and at the end of the form use create new thing and make changes to thing actions