add save button
auto detect width of inputbox