Changed ajax loader behaviour

Delaying loader deactivation until the element has faded out; this
supports a CSS rule to hide edit/delete buttons when the loader
activates.