QT: grammar dialog improved a little