modal window now with loading progress

Using XHR 2.