Preparing message box for text input