fixes #200

fixes #200. added onbeforeunload event handler to learner group management page that will run a dirty model check.