checking for text in event it is falsy