close menu by calling toggle()

Fix https://github.com/dart-lang/spark/issues/543

review @ussuri

TEST=manual