safe mode dialog implemented