new handling of action isEnabled