buildOptional(_:)
Supports a conditional menu without an else branch.