Fixed :confirm deprecation warnings