move popup item template to file, itemViewClass for popup now uses context instead of content