Added variables to initialize component forms when clicking the link