Add return value to input enter callbacks