Automatic dashes, naming layers

I´m finding a problem naming layers in Animate 2, if I forget to separate the words with dashes to enter, a window tell me that the name is invalid.
Making automatic dashes between words help us to avoid wasting time in rewriting the script name something a dash is missing.