forgot to add termination after error dialog on OSX