Added check to make sure button had an action before trying to call the block
Merge branch 'master' of github.com:WillChilcutt/NSAlert-Blocks