Checked on how the modal title will be changed as one modal is used for both add and edit for UI enhancement, I applied the studied sample, but as per checking, it is not working, I checked other samples and ways for it to apply.