Enable dialogs to participate in pre-existing z-index arms races