Changed btn-warning to btn-danger.
APF-1444: Fixed jQuery conflict with PrimeFaces.