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 
... and this to `failOnBatteryDepleted`.