`dialog`: comment on use of `shouldOpen`.
`dialog`: use `.call` on `shouldOpen`.