### Godot version

4.1.1

### System information

linux

### Issue description

[simplescreenrecorder-2023-08-30_15.01.51.webm](https://github.com/godotengine/godot-proposals/assets/71937306/537d92b9-4f98-4fe6-adf4-71297be0471a)

I guess this wasn't the case before since I could save a layout named "2 monitors".

### Steps to reproduce

press space

### Minimal reproduction project

none
#include "editor_layouts_dialog.h"
#include "core/io/config_file.h"
#include "core/object/class_db.h"
#include "core/os/keyboard.h"
#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
#include "scene/gui/item_list.h"
#include "scene/gui/line_edit.h"
void EditorLayoutsDialog::_line_gui_input(const Ref<InputEvent> &p_event) {
	Ref<InputEventKey> k = p_event;
	if (k.is_valid()) {
		if (k->is_action_pressed(SNAME("ui_accept"), false, true)) {
			if (get_hide_on_ok()) {
				hide();
			}
			ok_pressed();
			set_input_as_handled();
		} else if (k->is_action_pressed(SNAME("ui_cancel"), false, true)) {
			hide();
			set_input_as_handled();
		}
	}
}
void EditorLayoutsDialog::_update_ok_disable_state() {