bug fix for the `options.valid` callback - `isContainer` is now set to `true` when creating a new child container