[repo] new-file: fixed 'no focus' bug for ff