remade register pop-up match the other one