add onlyEnterThrough transition restriction