Add templateExists method for popover Action