Add dialog for compile error. Dialog style adjusted