When I click on an image of the bot's reponse, how to get a bigger pop up

On clicking the image of bot’s response, how can I get a pop up with bigger image and a way to close it?

You will need to implement that in your chatting application, not in Rasa X