How to dynamically add elements to the plugin dialog. For example I would like use loop and add 10 buttons.