### Godot version

v4.0.stable.official [92bee43ad]

### System information

Linux - v4.0.stable.official [92bee43ad]

### Issue description

It gives you the possibility of removing unexisting key/value pairs from a dictionary.

### Steps to reproduce

![image](https://github.com/godotengine/godot/assets/69520693/35beadbe-bfdd-4176-9b26-222bbf69cafa)
![image](https://github.com/godotengine/godot/assets/69520693/7ed647e0-a2af-4e58-9f00-f77b7bc7bb02)
![image](https://github.com/godotengine/godot/assets/69520693/f08bf824-8408-45eb-bb84-f1dc7e19e392)


### Minimal reproduction project

N/A
if (!p_property.begins_with("indices")) {
		return;
	}
	int index;
	if (p_property.begins_with("metadata/")) {
		index = p_property.get_slice("/", 2).to_int();
	} else {
		index = p_property.get_slice("/", 1).to_int();
	}
	Variant array = object->get_array().duplicate();
	array.set(index, p_value);
	object->set_array(array);
	emit_changed(get_edited_property(), array, "", true);
}
void EditorPropertyArray::_change_type(Object *p_button, int p_index) {