add additional param to popup functioin