Make modals adjust their size to the window size