prompt dialog fix