### 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 (updating) {
		return;
	}
	Variant array = object->get_array().duplicate();
	array.call("resize", int(p_page));
	emit_changed(get_edited_property(), array, "", false);
	update_property();
}
void EditorPropertyArray::_add_element() {
	_length_changed(double(object->get_array().call("size")) + 1.0);
}
void EditorPropertyArray::setup(Variant::Type p_array_type, const String &p_hint_string) {
	array_type = p_array_type;
	
	
	if (!p_hint_string.is_empty()) {
		int hint_subtype_separator = p_hint_string.find(":");
		if (hint_subtype_separator >= 0) {
			String subtype_string = p_hint_string.substr(0, hint_subtype_separator);
			int slash_pos = subtype_string.find("/");
			if (slash_pos >= 0) {
				subtype_hint = PropertyHint(subtype_string.substr(slash_pos + 1, subtype_string.size() - slash_pos - 1).to_int());
				subtype_string = subtype_string.substr(0, slash_pos);
			}
			subtype_hint_string = p_hint_string.substr(hint_subtype_separator + 1, p_hint_string.size() - hint_subtype_separator - 1);
			subtype = Variant::Type(subtype_string.to_int());
		}
	}
}
void EditorPropertyArray::_reorder_button_gui_input(const Ref<InputEvent> &p_event) {