if file was already changed, dialog box is displayed