Page reload when close modal (reveal)

Hi! When I close Modals (Reveal) the page is reloading - jumps to the top of the page and returns to its original position. How to solve it?