waiting dialog fix