We're never actually using this except for below to hide the dialog. Explicitly call hide and remove this method.