created a template for add resource form and load the form when it needs
changed selected name to
hide from elements that passing value between page
Create a Modal base class for sub class to extend to use the global validation.