do not use dialog close anymore. replaced by qmessagebox::warning