[21] Fixed some issues with the dialog, and now using dialogerror whenever possible