Fixes #5093, updating styling to make modal dialog show up.