Context aware chat reset onfocus event