Avoid overwriting the dismiss button for loginSuccess alert.