title: Prevent user to perform any actions while page is loading
body: <p>I have a tabbed web application, and I also created caching of the images before page transitions, so when the user goes to a page, I make sure all the images are downloaded before transitioning to that page.</p>
  
  <p>When I click on a tab with many images, I display a spinner and starts downloading the images in the background then after it finishes I will display the page.</p>
  
  <p>But I want to freeze any user inputs or taps while I'm doing this. So what is the best method to freeze and unfreeze the whole page?</p>