public static void CloseDialogs()
        {
            int ret = CApplicationAPI.CloseDialogs(out _mySError, 0);

            O("CloseDialogs returns: " + ret.ToString());
        }