title: Change background of the modal before the delay
body: <p>I use this <code>material modal pop-up</code> ( <a href="http://codepen.io/ettrics/pen/Jdjdzp/" rel="nofollow">http://codepen.io/ettrics/pen/Jdjdzp/</a> ) on my website, it works perfectly fine but I need one modification. As you can see in the snippet, once the button is clicked there is a delay of 400ms and after that modal content shows up. The background of the modal content also changes after the defined delay of 400ms. What I want is that background color should change <code>immediately once the button is clicked</code> and the modal content should load normally after 400ms. </p>
  
  <p><code>&amp;__bg</code> class controls the background of the modal. It's set to transparent in the snippet. Kindly suppose it to be any solid color like black.</p>
  
  <p>I don't have any experience in JAVA SCRIPT. 
  A LITTLE HELP WOULD BE APPRECIATED. </p>