Display modal windows better in small viewports