messagedialog fixed