Dispatch an event on toggling main menu

Signed-off-by: Alex Coles <alex@alexbcoles.com>