visible conditions callback for actions