It is possible to do what he want, just create a procedure of dynamic components and on button click call that procedure.
Use Dynamic Components Extension