File field support in modal

File field support in modal window
Remove border changes if errorFields not empty