Handle command menu disable