Get current url and set as hidden field value