#642 fixed bug in message from server when unsupported template was opened.
Merge remote-tracking branch 'origin/t642' into t660

Conflicts:
	eScreeningDashboard/src/main/webapp/resources/editors/states.js