Made modal window resize on screen resize