update modal positionings