// MonoBehaviour's INTERFACE

    void Awake()
    {
        ClosePanel();

        // Set static reference.

        ModalPanelHandle.RegisterHandleMain(this);
    }