The config/context index is an integer, so convert the value fetched with jQuery's val(). If a link in a panel has a meaningful target set (like e.g. _blank) let the browser handle the link.