Support passing popup configs in via an object
More popup docs