Clear validation when closing modals
Merge branch 'newframework' into mimeTypes