Pass link target onto the ujs form

Thanks @kuahyeow