just save the map (important)
then you can add a new script with standard actions

I had the same problem too and when I saved the map and added the model
it worked