modify behavior of menu