Found bug in modal closing

when destroying on close
fixed it.
also I accidently removed NpmLoad for jshint a few commits ago.
Fixed that too