Unsaved changes validation. Fixes #4