Added document save notifications, slightly fixes #228