text input values are returned with button click