Added close action to menu