Error dialog and generator setup