progressbar

Vaadin sometimes displays a progressbar in the middle of the screen. This is the case while the page loads as an example. How could I trigger the very same progressbar programatically? I could of course build my own progressbar solution but it would probably end up not being consistent with the Vaadin default progressbar. I’m also wondering how I could adapt the progressbar CSS so that the progressbar is modal and the backgroud is greyed out.