added MessageDialog