Mark editor as dirty when file on disk changes