changed error log from dialog to panel