correctly handle visualization action selection