editor: handle undefined action state