added the missing event for open the menu.