WM: settting maximum widths for modal holder
WM: Adjust max modal height; closes #1089