Fix issues in the "Action" configuration and disable debug logging

Fix ordering of triggers and scenes within an action.

Add support for deleting actions.