Support pressing enter in message and pin fields.