refactor msg dialog to adapt wp8.1