don't you think this loop is weird? I'd say we should show one error dialog only...