Open edit modal right after create

I'm using a simple resource (create and edit is handled with modalss. How can i make it so that after creating the entity in the create modal it automatically shows the edit modal for that entity instead of just closing the modal and returning to the table ? In other words after create i want the edit modal to appear.
Was this page helpful?