Modified .gitignore (added .idea folder to it)
Added beforeValidate event