Add error message for 0 string length for stringdialog