added focus to input after selecting gif