modify the label auto hide and init the popup page