using common wait dialog