core: call #state in any #action call [GH-4513]