create the popoverscope on show events