hack for max-width of modal window