KRACOEUS-8316:when validations warnings are present on submit, data vali...

...dation modal gets displayed with option to submit with warnings
One final comment, this logic is confusing. I think it would be more straight forward if we it was 
```if (Error) { } else if (Warning) { } else { submit }```
Thats equivalent isn't it? And more readable I think.