Popups for success and failure

Adds trigger actions for displaying popups on success and failure, and corresponding messages specific to the situation. How does it look? @kadst43 @BrettASwift 
I've made a bunch of changes to this file, so it might be easier if you just check in the clauses and then we hook them up on my side of the fence.  That said - good to hook them up at least long enough to test them, whether you check those tests in or not...