#243 added validation for widgets & templates modal windows.
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev