Added the dynamic reply creation logic. Created dynamic forms and wrote submission logic