Resize modal overlay when window is resized