check if menu item is disabled before triggering select event