Make sure we don't try to submit two actions at once.