How to use custom popup in month view?

In this attached image we have default popup, which opens when we click on more button.
But I want to use the custom popup, which closes onClick of the close button.

How can I implement this?