Encapsulated popup dialog as a cross view utility