Warning about saving changes when the work log is changed
If the user clicked outside the work log when the content had not been saved, the content would disappear. The user would not get any warning that this was about to happen. This fixes the issue by displaying a warning.