modify for close

close menu when click anywhere in main form