create popup for register