write show and make popup