Properties in MD are shown before MDCC to be applied in UIXV2

Hello all,

So im facing this issue, whenever im using this type of approach for opening a metadata of an object, most of the times the properties are being shown without metadata configuration to be applied.

This is the approach which is working for opening an object in the web.

        async function showSelectedObject(objId, objType, lastVersionId) {
            var internal_id = Number(objId);
            var Version = Number(lastVersionId);
            var Type = Number(objType);
            // Show new object window.

            var objVer = {
                "obj_id": {
                    "type": Type,
                    "item_id": {
                        "internal_id": internal_id
                    }
                },
                "version": {
                    //https://developer.m-files.com/Frameworks/User-Interface-Extensibility-Framework/Reference/gRPC/Enums/ObjVerVersionType/
                    "type": MFiles.VaultEnums.ObjVerVersionType.OBJ_VER_VERSION_TYPE_SPECIFIC, //4
                    "internal_version": Version
                }
            };
            const resultEditObjectWindow = await MFiles.ShowEditObjectWindow(
                objVer, // objVer
                {title: "test"}, // options
            );
        }

Also i have found non code solution for the problem. When firstly open a metadata through custom html, it would be opened without any MDCC rules, but after that, if i open the object MD by the standard way (goes to a view or by search) and after that get back to the custom html and press the button, it will open the object  but now with the applied rules. I think it being cached or something like that. So the question, is there a workaround for using ShowEditObjectWindow() and to have guaranted MDCC or any suggestions for other approach.

Thank you in advance !