adding titles to popups