Vaadin async

I’m not able to figure out how to create a dialog which is blocking and doesnt render rest of the elements until a button is clicked in vaaidn 24. any suggestions on how this can be done in vaadin?

You are probably rewriting former Swing based app as a web app, and the answer here is that no, you need to do it differently. Swing desktop apps run single threaded. Vaadin web apps run on server and browser. I.e. it is a distributed system, which makes it different. You need to add rest of the elements in the dialog in the button click event. So you need to refactor these parts of the application logic to fit web based environment.