add style to mod template
improve form validation (still missing enter key)