create a error dialog

creating a error dialog on client screen