introduced dialog for session errors