Change dialog to handle utf-8