 Also we can add a disable state which will be true untill model replies with answer. And for mean time we can keep both input box and button disabled.