open link input if selected a link