public static void GetEaseF(string currentEase, string callback, GuiCanvas root)
        {
            GuiEaseEditDlg GuiEaseEditDlg = "GuiEaseEditDlg";
            GuiCanvas Canvas = "Canvas";

            GuiEaseEditDlg.init(currentEase, callback);

            if (!root.isObject())
                root = Canvas;

            root.pushDialog(GuiEaseEditDlg);
        }
        public static void TextPad(string text, string callback, GuiCanvas root)
        {
            ScriptEditorDlg ScriptEditorDlg = "ScriptEditorDlg";
            GuiMLTextEditCtrl textpad = ScriptEditorDlg.FOT("TextPad");
            GuiCanvas Canvas = "Canvas";

            textpad.setText(text);
            ScriptEditorDlg["callback"] = callback;

            if (!root.isObject())
                root = Canvas;

            root.pushDialog(ScriptEditorDlg);
        }