Ensure return back to terminal after dialog.