Issue in closing popup

When I make “on click modal”. It works properly the first time but after closing the popup. when I open again it’s not working properly(Animation does not work) and also on close-popup animation not working.
Here is a link: “

Here is my public share link: LINK
(how to access public share link)

Hard to see what the problem is without a share link but it might be that you’re using another interaction to close the modal that simply hides it. If that’s the case, try creating an animation that sets it back to the original opacity and location as the initial state of your “on click modal”.

Thank you for your response, but sorry I didn’t get you.
Here I have attached a link:-

Sorry, I didn’t get you!