add popUp visibility change to home