Don't process subsequent onclicks if the first one was cancelled