updated popup button with dynamic name