should be in jsbox not dialogue