NSAlert update

switched to -init method and setting properties to get away from deprecated method