`dialog` doesn't seem to be used?