hide loading indicator after async action is complete