When an ajax event is fired in Drupal, the ajax loader appears briefly then disappears.
This makes it hard to theme!
To make it appear and stick around, set an XHR breakpoint in your browser debugger.
Image

Now trigger the ajax event.
Image

The debugger will pause, keeping the loader visible.
Inspect the element again to hide the overlay.