what is this? do we need to show a dialog here, or was this for debugging?