The test just needs to be deferred until after the menu is shown asynchronously. Our standard is to omit the second argument altogether in this situation.