Hi Fillipe Barbosa,
Thanks for contacting Syncfusion support.
We have checked your shared code and we are unable to replicate your mentioned issue. We can able to close and again open that Modal dialog with the button. Based on this, we also couldn't proceed with your provided information. So Could you confirm the below details, to check the issue further?
- Open your console window and check for any console errors and share the issue screenshot or video, if any.
- What is you actual requirement? Whether you want to use our Dialog directly or open with in Grid?
- If possible, please use our sample to reproducible your issue sample to validate from our side?
- What is the exact Syncfusion version that you are using?
Please find the below sample for your reference.
Query2:“I want to use the modal dialog to edit data in a grid, because i new severals customs fields.”
If you want to use the modal dialog to a edit data in Grid means please find the below demo link and UG link to get more information on how to use the Dialog in Grid editing
Please provide the above asked details so that we can provide a solution as earliest.
Regards,
Arun P.