#165 showMessages() function moved to modal.js, because else cross-references are created
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev