Set the name of the top group, if present.

def set_action_name(self, name):
        """
        Set the name of the top group, if present.
        """
        if self._open and name is not None:
            self._open[-1].name = name
            self.notify()