enableWhen implemented for handlers