No need to hide and show the dialog.