improved feedback when selecting directories in the model editor (code imported from alpha)