Closing a Modal in PWA Toolkit/Plain Vanilla App

How do I programmatically close a modal from itself in a PWA Toolkit app? I understand the toolkit is beta, but I was wondering if there is a way to do this in the current PWA toolkit version. I understand that there is a way to do this with a close/back button in Angular/Cardova based apps (Angular ViewController), but how do we do this for plain vanilla/ionic PWAs? Thanks …