Modification event listener for menu