Return Promise from handleClick and handleSubmit