Separate between popup and builder templates.