Editor: Fix mark tab as modified after loading file