Refactor Button to Action in resources.
Using cssAlertType var.