Fixes issue #4 -- enter now opens and closes the chat box