change pop up detail page display type