Prevent modal screen overflow