added basic validation when editing weact actions