According to the current wireframe, there are two fixed number of resource definition elements being rendered. What's planned for the next is to have this element dynamically appended when it's needed, one at a time. So to be prepared for the new design, the corresponding default model structure for one single resource element is extracted as a component option and use prepareModel() to construct the initial model with two and only two such model structure.

Any suggestions on a better way to do this?