Added a useEffect hook in the dialog component to reset the modal to default values when it is opened.This ensures that when the modal opens, the link and linkText values are cleared, providing a fresh form for the user to add a new link.
Fixes #46
All React Text Igniter Contribution checklist:
[x] The pull request does not introduce [breaking changes].
Description
Added a useEffect hook in the dialog component to reset the modal to default values when it is opened.This ensures that when the modal opens, the link and linkText values are cleared, providing a fresh form for the user to add a new link.
Fixes #46
All React Text Igniter Contribution checklist: