remove the extra modal class as that causes an issue on sufari, and is not really valid in this context.  fixes #8932