Hello?
I can confirm that a loading indicator is not displayed until the app/webpage is brought to the foreground. By appending .then(()=>console.log(…)) to the present/dismiss methods, you can see that these are not executed until focused.
Background mode enabled doesn’t make a difference.
If this bug doesn’t get any attention here sometime soon, I’ll create an issue on github.