link handler in popup