Fixed issue #1786: Committing 25 or more files causes hidden progress dialog

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>