speed up progress dialog paint on open