cda: curly brackets, dialog layouts, device parsing