Alert the user whenever goto declaration is used and the file is not saved.

Fix #294.