Adding loading class to target for styling control.