support popup display for authorization flow in addition to page display