Open an entity form in the create mode within a dialog box pop-up in model driven app power apps javascript

The below code will be used to Open an entity form in the create mode within a dialog box pop-up. Hope it helps.