Updating with some demos on cleaning up the code. Removed old component populating code
Added an oversight where the inputs were not updated, only the active component was
Adding all files. Name field now repopulates, applies the name to the input (checkboxes not confirmed, should be fine though)