Added dialog to load new file when the current file is modified.