Is there a way to add a progress bar to input forms?

Is there a way to add a progress bar to input forms?

Hello,
my problem is the following: I use an input form to send configuration to a device. After the data is sent, the device becomes non-responsive for a while. I'd like to show a progress bar (any looping animation would be OK) and disable the whole dashboard until the device is ready. Something like the screen usually shown when updating firmwares for routers on a web interface. Is there an easy way to do this?