hide menu on backdrop click