add input box to lua api