### Godot version

Godot 4-beta10

### System information

Linux, KDE Neon, Mesa Intel(R) UHD Graphics (CML GT2)

### Issue description

Advanced options buttons in Batch Rename are not activated

When I want to rename several nodes using the batch rename function, the advanced options buttons are not activated.

https://user-images.githubusercontent.com/342117/210034723-33e1810a-62a5-4fe4-8472-d0cc677317b7.mp4



### Steps to reproduce

See the video...

### Minimal reproduction project

It does not make an example project because it happens in all Godot Engine versions with any project. (Godot 4-beta10)
} else if (case_id == 2) {
		
		result = result.to_upper();
	}
	return result;
}
void RenameDialog::_iterate_scene(const Node *node, const Array &selection, int *counter) {
	if (!node) {
		return;
	}
	if (selection.has(node)) {
		String new_name = _apply_rename(node, *counter);
		if (node->get_name() != new_name) {
			Pair<NodePath, String> rename_item;
			rename_item.first = node->get_path();
			rename_item.second = new_name;
			to_rename.push_back(rename_item);
		}
		*counter += spn_count_step->get_value();
	}
	int *cur_counter = counter;
	int level_counter = spn_count_start->get_value();
	if (chk_per_level_counter->is_pressed()) {
		cur_counter = &level_counter;
	}
	for (int i = 0; i < node->get_child_count(); ++i) {
		_iterate_scene(node->get_child(i), selection, cur_counter);
	}
}
void RenameDialog::rename() {