will click button until it disappears then throws error