dialog fixes