few dialog fixes