title: CKEditor 3.x - Dynamically add UI elements to plugin dialog
body: <p>I'm building a CKEditor 3.x plug-in that allows certain sections of HTML to be conditionally displayed by a separate viewer application that is tied in to our back-end systems. My CKEditor plug-in will be used to define these conditions, but I'm getting stuck on how to dynamically add UI elements to the plug-in dialog. </p>
  
  <p><img src="https://i.stack.imgur.com/TthJe.jpg" alt="alt text"></p>
  
  <p>After I select the 'AND' option in the last select UI element (see the screenshot), I want to dynamically add another 3 select UI elements, similiar to the first 3 select's.</p>
  
  <p>I've trawled through this forum and the plug-in tutorials and I haven't been able to figure it out. All the examples I looked at only have static dialog definitions. Any help with this would be appreciated.</p>