### Godot version

4.1.stable

### System information

Windows 11 (x64), Intel(R) Core(TM) i5-9400 CPU, Vulkan,  NVIDIA GeForce GTX 1660 Ti driver version 528.24

### Issue description

Every time you right click the Filter Nodes field, it duplicates the 'Filters' section in the dropdown.

https://github.com/godotengine/godot/assets/104696964/b8d867c9-ba31-47c5-91c8-23cfa02f1c89



### Steps to reproduce

Rightclick the Filter Nodes field.

### Minimal reproduction project

N/A
d->set_owner(dup);
				}
				node_clipboard.push_back(dup);
			}
			if (p_tool == TOOL_CUT) {
				_delete_confirm(true);
			}
			if (was_empty) {
				_update_create_root_dialog();
			}
		} break;
		case TOOL_PASTE: {
			paste_nodes();
		} break;
		case TOOL_REPLACE: {
			if (!profile_allow_editing) {
				break;
			}
			if (!_validate_no_foreign()) {
				break;
			}
			if (!_validate_no_instance()) {
				break;
			}
			if (reset_create_dialog) {
				create_dialog->set_base_type("Node");
				reset_create_dialog = false;
			}