Action Handling

Refactored the action handling for buttons to always close the alert
view after carrying out the set action, Also set Warning style dialog
button text to be black since it looks better that way