changing the enable/disable menu link behavior