added depandent nullify to related models.
added initial styling to new study form.