Add popup when generating data