added DialogWindow for error notification