hide close button when continue button is clicked