public void loadDialog(GuiControl ctrl)
        {
            GuiCanvas       Canvas                    = "Canvas";
            GuiSliderCtrl   AlphaLevelSlider          = "AlphaLevelSlider";
            GuiSliderCtrl   MouseOverAlphaLevelSlider = "MouseOverAlphaLevelSlider";
            GuiTextEditCtrl AlphaLevelText            = "AlphaLevelText";
            GuiTextEditCtrl MouseOverAlphaLevelText   = "MouseOverAlphaLevelText";
            GuiTextEditCtrl AlphaFadeTimeText         = "AlphaFadeTimeText";

            this["ctrl"] = ctrl;
            this.checkAllowedDialogs();
            Canvas.pushDialog(this);

            if (this.ctrl["alpha"].AsBool())
            {
                this["oldAlphaValue"]     = ctrl.getAlphaValue().AsString();
                AlphaLevelSlider["value"] = this["oldAlphaValue"];
                AlphaLevelText["text"]    = this["oldAlphaValue"];
            }
            if (this.ctrl.mouseOverAlpha)
            {
                this["oldMouseOverAlphaValue"]     = ctrl.getMouseOverAlphaValue().AsString();
                MouseOverAlphaLevelSlider["value"] = this["oldMouseOverAlphaValue"];
                MouseOverAlphaLevelText["text"]    = this["oldMouseOverAlphaValue"];
            }
            if (this.ctrl.alphaFade)
            {
                this["oldAlphaFadeTime"]  = ctrl.getAlphaFadeTime().AsString();
                AlphaFadeTimeText["text"] = this["oldAlphaFadeTime"];
            }
        }