AJ-1573 fix app directive bug
AJ-1573 Implement nested forms and auto-submit on validation.