Added progress bar support.
Added modal support.