file edit events + add focus