fix file add keyevent for firefox