void OnDrawElement(Rect rect, int index, bool isActive, bool isFocused)
        {
            var item = (ConversationPiece)list.list[index];
            var r    = rect;

            r.width = rect.width * 0.2f;
            GUI.Label(r, item.id, EditorStyles.boldLabel);
            r.x    += r.width;
            r.width = rect.width * 0.7f;
            GUI.Label(r, item.text + (item.quest != null ? $" ({item.quest.title})" : ""));
            r.x      += r.width;
            r.width   = rect.width * 0.1f;
            r.y      -= 1;
            r.height -= 2;
            if (list.index == index)
            {
                if (GUI.Button(r, "Edit", EditorStyles.miniButton))
                {
                    ConversationPieceDialog.Edit(script, item);
                }
            }
        }
 void OnAdd(ReorderableList list)
 {
     ConversationPieceDialog.New(script);
 }