created a totally shameful but workable way of using Wordpress link popups to manage link input types