Disable submit button in dialogs when some fields are invalid
Add 'required' attribute to fields that are required (ones with 'pattern' specified)
Merge remote-tracking branch 'upstream/master' into invalid-entries-disable-dialog-buttons
Address review comments

* Remove red text for invalid values in fields
* Use red border only when the field is not focused and non-empty (the user has entered some value in it)
Merge pull request #2409 from ussuri/invalid-entries-disable-dialog-buttons

Invalid entries disable dialog buttons