Stop using completionHandler blocks on NSAlert

Since it is available first on 10.9.