Improvements for InputDBox