DialogBuilder is only used in the parts of the UI in DW9 that uses ui elements - the generative screen definitions. And Ribbonbar add ins are part of the 'old' .aspx world and to my knowledge it cannot be combined and our code base does not combine the 2.