Hi @Riya Mehere ,
I got the leafletJS component working to show/hide the default UI Popup every time a user clicks the map (including a Marker). However, clicking a Circle doesn't trigger this event (at least for me).
You can call a Popup and use a boolean variable (default set to false so the popup starts hidden). Then have a Screen Action to toggle its value (show/hide the popup).

This Screen Action will be used by the Close button in the popup (otherwise you couldn't close the popup) and also will be used in the Leaflet's Weblock Handler (more on this a bit later).
In the Leaflet Weblock you need to expand the MapEvents and set the Click to True, like this:

You also need to set a Screen Action as the Handler of the Leaflet's Weblock's OnClick event:
This action has a MouseEvent input parameter with useful info, such as the lat/long coordinates the user clicked. It also has the Container Point coordinates, which can be useful to set top/left position so that elements (containers, text, etc.) appear near the click.
Here I just converted them to text so I can show the exact coordinates the user clicked in my Popup. I will also need to call the TogglePopup screen so the popup can appear.

Since I believe you will have multiple Markers in the map, it may be useful to create a function to check what is the closest Marker (so its info show in the Popup). Then you can have multiple popups and show specific coordenates or other info (text, image, etc.) for that popup you want (and not using MouseEvent input parameters).
If you just want some text (can be an expression) appearing next to where was clicked, you use a boolean to show/hide it and even place it where the user clicked by using top/left parameters that we can get from MouseEvent.
Install the Demo of the component as well to see how Events are beeing used:

Using this CSS, you can have a boolean (showText) to control if the expression (or other elements) appear and its position:

Be sure to place the Leaflet Weblock inside a container that has the class (parent-container) and the element you want to show (I used an expression) having its style class either "display-none" or "text-overlay", while giving as Attribute a sytle for the Top and Left and using variables for their values.

The X and Y (Long Integer) can be set when user clicks on the map, coming from the MouseEvent input parameter.

Please let me know if this has helped you in any way!
Thanks,
Fábio