Fixes modal appearance.