I'm looking for a solution for displaying an overlay which should prevent userinteraction. I want to start an upload and force the user to wait until it is finished. After finishing the overlay should be removed.
Background:
I'm using Apache Wicket (Java) to build my webapplication. The dialog for upload is in a ModalWindow. After submitting the Form in the ModalWindow (upload), the overlay should be shown and prevent user interaction and display some kind of a message.
Any smart ways to do that? Maybe a Wicket way or a plain javascript one?