Possible fix for confirm popup error.