Added success check on valid authentication to dialog.