How to retain the instance of a modal page?

I want to implement a filter page(modal page) where applied filters clear only when clear button is clicked. not by closing the modal page. Is there any way to get the instance of the modal page and pass it again??