It looks like this will result in a generic div, then the mask, then the error dialog. It would be nice to use the generic div as the mask and make our HTML less complex.