When I click on UI action button, it should pop-up a custom dialog box and it should show some fields getting from incident_task. After this by clicking a confirm UI action button, it should create a new record/task.
how can this be done with OnSubmit client script?