Forms: Added explicit cancel action to action dialogs.

Thanks to Michael Catanzaro for pointing this.