add menu visible expression