Feature loading gif when loading modal