Return the name of the mode at the given position.
String? getModeNameAt(Position pos) => getModeAt(pos)['name'];