menu closes onclick