fixed wait dialogs

Signed-off-by: constpetrov <constant.petrov@gmail.com>