Added input dialog to textbox