When using PopupService with a component as content it is not possible to inject the PopupRef into the component's constructor.
Allow injecting PopupRef into the component's constructor like it is possible with DialogService and DialogRef.
https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/#toc-content-component
This will allow to call close on the PopupRef from within the component.