Add icons on form tab with errors
Refactoring for errors check on dynamically added forms