Updated popup func (now with \n)