[WP8] Implementing simple loading overlay

Jan 5 at 8:03 PM
In my Windows Phone 8 application im executing long running task and want to display loading overlay for user while task is executing.

My current solution is something like this:
public async void DoWork()
{
  var overlay = new MessageOverlayViewModel();
  overlay.Message = "Getting your location";
  this.windowManager.ShowPopup(overlay);

  // Get locations async

  overlay.Message = "Loading data";

  // Load data async

  overlay.TryClose();
}
This works "ok", but there are still many question marks: AppBar is still visible when overlay is "active", maybe because AppBar is set in conductor page and DoWork() is inside one pivot item VM? Another question mark is how to handle back button, now if user hits back, whole app is closed.

All suggestions welcome, as im still starting to learn this awesome framework :)
Jan 8 at 4:51 PM
Anyone? :)

All suggestions and ideas welcome.
Jan 12 at 9:55 PM
me personally I wouldn't do with a popupoverly using windowmanager, but have something on the shell of your Wp8 that can popup based on an event sent from IEventAggregator? All it would is some border or grid with an opacity and a textblock. AppBar is appbar it might work this case to have the overlay at such a location that it will cover the appbar or use BindableAppbar and tell it to be hidden (design choice?).
Jan 15 at 9:28 PM
Thanks, that sounds decent idea