This adaptation of the OL ModifyFeature allows usage multilayer by SelectFeature without specifying any default layer.
View the modify-feature-selectFeature.js source to see how this is done.