fixes #200. added onbeforeunload event handler to learner group management page that will run a dirty model check.
Merge pull request #236 from stopfstedt/bug200

fixes #200