           buttons        :
             close        :
               title      : 'Close'
-              cssClass   : 'solid medium gray'
+              cssClass   : 'solid medium'
               callback   : -> modal.destroy()
 
         break

kd = require 'kd'

# You can find the list of AWS error messages here
# http://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
VPC_WIKI_URL = 'http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html'


    for errorString, niceMessage of HANDLED_ERRORS
      if content.indexOf(errorString) > -1
        modal = new ContentModal
          cssClass       : 'content-modal'
          title          : 'An error occurred'
          content        : "<p>#{niceMessage}</p>"
          overlay        : yes
          overlayOptions :
            cssClass     : 'second-overlay'
