this is a fix for the issue where dialogs jump around and takes the text-align from the body