center modal on resize