adds laoding overlay to api call