fix up modal sizing and use strict max-height + height media queries