throw error for nested modifiers
throw error for nested parent modifiers
add tests for nested (parent) modifier errors