Add conditional width to modal windows