fix prompt on dialog