I have a form on my page. When I fill out the form, if it is valid a loading pop up appears and I start to perform calculations. Depending on the state of the calculations,