added setMaskDimensions which will adjust the background mask for the modal window