I've wanted to re-use my lwc quick action on another object, but turns out it's not supported. Hence I'm wrapping my lwc in aura component.
I want to close the modal via button press. Was hopping I could just fire the event from lwc, without doing additional wrapping.
Naively tried this, but no luck:
this.dispatchEvent(new CustomEvent('e.force:closeQuickAction'));
Got error
Invalid event type "e.force:closeQuickAction" dispatched in element <c-my-modal>. Event name must start with a lowercase letter and followed only lowercase letters, numbers, and underscores