WaitDialog-issue fixed