Hack for Chrome window close
On some versions of Chrome javascript window.close() doesn't work.
It was spotted on Chrome v23 runnning on Ubuntu
(this was not merged when explorer was integrated into dashboard.)
Merge branch 'master' of https://github.com/webinos/webinos-dashboard
Fix on previous commit in case of not enrolled.

Jira: WP-1166
Merge pull request #4 from cbotsikas/master

Hack for Chrome window close