Add support for password and multiline text inputs
Fix hang on leaving text input
Use "Enter" key to exit input dialog