Add new policy copy paste doesnt work

when add new policy with json editor ,copy paste of working doesnt work
what works is create a default policy in gui and edit json copy paste from “states”: [


heres json for default security indices delete 7 days

{

"policy": {
    "policy_id": "delete_7days_security-auditlog",
    "description": "delete_7days_security_auditlog",
    "last_updated_time": 1658433903180,
    "schema_version": 16,
    "error_notification": null,
    "default_state": "hot",
    "states": [
        {
            "name": "hot",
            "actions": [],
            "transitions": [
                {
                    "state_name": "delete",
                    "conditions": {
                        "min_index_age": "7d"
                    }
                }
            ]
        },
        {
            "name": "delete",
            "actions": [
                {
                    "retry": {
                        "count": 1,
                        "backoff": "exponential",
                        "delay": "1m"
                    },
                    "delete": {}
                }
            ],
            "transitions": []
        }
    ],
    "ism_template": [
        {
            "index_patterns": [
                "test*",
                "security-auditlog*"
            ],
            "priority": 2,
            "last_updated_time": 1658433903180
        }
    ]
}

}